May 2000
Beginner
761 pages
18h 20m
English
file [ -vbczL ] [ -f namefile ] [ -m magicfiles ] file…
file performs a series of tests on each filename in an attempt to determine what it contains. If the contents of the file appear to be ASCII text, file examines the first 512 bytes and tries to guess its language.
1 file bin/ls /bin/ls:sparc pure dynamically linked executable 2 file go go: executable shell script 3 file junk junk: English text |
Explanation
ls is binary file dynamically linked when executed.
go is a shell script.
junk is a file containing ASCII text.
Read now
Unlock full access