Co robi HEAD użycie. Konsola from standard input. With more than one file, print a header for each.

Czy przydatne?

Polecenie head

Wykonanie, użycie: Print the first few lines (default is 10) of one or more files. If files is missing or -, read from standard input. With more than one file, print a header for each file

Opcje wykonania head w konsoli

-c num[b|k|m] , --bytes num [b|k|m]

Print first num bytes or, if num is followed by b, k, or m, first num 512-byte blocks, 1-kilobyte blocks, or 1-megabyte blocks.

--help

Display help and then exit.

-n num, --lines num, -num

Print first num lines. Default is 10.

-q, --quiet, --silent

Quiet mode; never print headers giving filenames.

-v, --verbose

Print filename headers, even for only one file.

--version

Output version information and then exit.

Przykłady head działanie w Słownik polecenie H

Przykład HEAD użycie :
Jak użyć System administration command. Read or set the hard drive parameters. This command can be used to tune hard drive performance; it is mostly used with IDE drives, but can also be used with SCSI drives co znaczy.
Przykład HEAD użycie :
Jak użyć user authentication files used by the Apache web server. The -c option is used if you wish to create the file, and will overwrite any existing files rather than update them. The three arguments are krzyżówka.
Przykład HEAD użycie :
Jak użyć Display specified file or input in hexadecimal, octal, decimal, or ASCII format. Option flags are used to specify the display format co to jest.
Przykład HEAD użycie :
Jak użyć System administration command: turns off the computer. Insert a note in the file /var/log/wtmp ; if the system is in runlevel 0 or 6, stop all processes; otherwise, call shutdown -h słownik.
Przykład HEAD użycie :
Jak użyć administration command. Print information about hosts or zones in DNS. Hosts may be IP addresses or hostnames; host converts IP addresses to hostnames by default and appends the local domain to hosts czym jest.