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
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.
Display help and then exit.
Print first num lines. Default is 10.
Quiet mode; never print headers giving filenames.
Print filename headers, even for only one file.
Output version information and then exit.
Przykłady head działanie w Słownik polecenie H
- Przykład HEAD użycie :
- Jak użyć administration command. Read or set the hardware clock. This command maintains change information in /etc/adjtime , which can be used to adjust the clock based on how much it drifts over time co znaczy.
- Przykład HEAD użycie :
- Jak użyć Set or display name of current host system. A privileged user can set the hostname with the nameofhost argument krzyżówka.
- Przykład HEAD użycie :
- Jak użyć Print the ID number in hexadecimal of the current host co to jest.
- 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 słownik.
- 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 czym jest.