Use the file command to find out what kind of files you're going to investigate: Code: file /usr/bin/7z If it's identified as a text file or shell script, look in it with Code: cat /usr/bin/7z Now you 'll see what it does. Now have a look at /usr/lib/p7zip/7z in the same way.
file /usr/bin/7z
cat /usr/bin/7z