|
|
This directory of Linux commands is from Linux in a Nutshell, 5th Edition. Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf. Buy it now, or read it online on Safari Bookshelf. filefile [options] files Classify the named files according to the type of data they contain. file checks the magic file (usually /usr/share/magic) to identify some file types. Options
Many file types are understood. Output lists each filename, followed by a brief classification such as: ascii text c program text c-shell commands data empty iAPX 386 executable directory [nt] roff, tbl, or eqn input text shell commands symbolic link to ../usr/etc/arp ExampleList all files that are deemed to be troff/nroff input: file * | grep roff |
|
|