From 59d46cf1fa8d154c0eff089a9f2157ea696632be Mon Sep 17 00:00:00 2001 From: pavlik_dev <121434853+pavliktt@users.noreply.github.com> Date: Wed, 21 Aug 2024 23:44:01 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a20b68a..1c9518e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ sudo apt install libmagic-dev
Now, compile the source code. Note the -lmagic at the end!
-g++  -lmagic -o fileinfo
+g++ <path/to/source.cpp> -lmagic -o fileinfo
 

And finally, copy that executable to /usr/local/bin folder.