A few handy tips for the command line:
To find out what kind of data Linux thinks is in a particular file use the 'file' command, e.g.:
>file format.exe
format.exe: MS-DOS executable (EXE)
To find out what program will be executed when you type a certain command, try the 'type' builtin bash command:
>type sudo
sudo is /usr/bin/sudo
>file /usr/bin/sudo
/usr/bin/sudo: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
__________________
"In five years, the penis will be obsolete."
Steel Beach, John Varley
|