View Single Post
Old 09-14-2004, 12:28 PM   #43 (permalink)
Witchy1
Upright
 
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
Witchy1 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37