Polecenie file
Opcje wykonania file
w konsoli
Brief mode; do not prepend filenames to output lines.
Check the format of the magic file (files argument is invalid with -c). Usually used with -m.
Read the names of files to be checked from file.
Follow symbolic links. By default, symbolic links are not followed.
Search for file types in file instead of /usr/share/magic.
Flush standard output after checking a file.
Check files that are block or character special files in addition to checking ordinary files.
Print the version.
Attempt checking of compressed files.
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
Przykłady file działanie w Słownik polecenie F