|
Explanation: It is used to determine the type of a file. It can take -b option, meaning donot follow symbolic links, or -f ffile, ffile is file containing a list of the file to be examined. Examples: $file /tmp /tmp: directory $ file /usr/bin/cp /usr/bin/cp: ELF 32-bit MSB executable SPARC Version 1.
|