View Single Post
rokafellaskank's Avatar
Posts: 83 | Thanked: 4 times | Joined on Mar 2010 @ Birmingham England
#5
Originally Posted by Joorin View Post
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
-sh: file: not found
~ $ cat /usr/bin/7z
#! /bin/sh
exec /usr/lib/p7zip/7z "$@"
~ $ /usr/lib/p7zip/7z
-sh: /usr/lib/p7zip/7z: Too many levels of symbolic links
~ $

that's what I got after them, I'm sorry, but I am a complete novice.