Co robi FILE użycie. Konsola usually /usr/share/magic ) to identify some file types uruchomić.

Czy przydatne?

Polecenie file

Wykonanie, użycie: 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

Opcje wykonania file w konsoli

-b

Brief mode; do not prepend filenames to output lines.

-c

Check the format of the magic file (files argument is invalid with -c). Usually used with -m.

-f file

Read the names of files to be checked from file.

-L

Follow symbolic links. By default, symbolic links are not followed.

-m file

Search for file types in file instead of /usr/share/magic.

-n

Flush standard output after checking a file.

-s

Check files that are block or character special files in addition to checking ordinary files.

-v

Print the version.

-z

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

Przykład FILE użycie :
Jak użyć Remote user information server. fingerd provides a network interface to the finger program. It listens for TCP connections on the finger port and, for each connection, reads a single input line co znaczy.
Przykład FILE użycie :
Jak użyć one or more users , including information listed in the files .plan and .project in each user's home directory. You can specify each user either as a login name (exact match) or as a first or krzyżówka.
Przykład FILE użycie :
Jak użyć fontconfig system. Lists available fonts and font styles. The first argument will limit listed fonts to those matching the pattern, and the second displays the listed font attribute or element. To co to jest.
Przykład FILE użycie :
Jak użyć Print the number of the current virtual console. For example, if you are using /dev/tty1 , the command would return 1 słownik.
Przykład FILE użycie :
Jak użyć display the prime factors of number n . If n is not specified, numbers are read from stdin, separated by commas, spaces, or tabs. This may take a very long time for numbers that are the product of czym jest.