Files
tldr/pages.it/common/head.md
K.B.Dharun Krishna f1aa0a8fe5 Revert "pages/*: add standard translation and links (#11331)" (#11374)
This reverts commit 39642c3fed80aaed7212bca6b7cc4c345ed229ee.
2023-11-06 14:02:32 +05:30

490 B

head

Stampa a schermo le prime linee di un file. Maggiori informazioni: https://www.gnu.org/software/coreutils/head.

  • Stampa a schermo le prime linee di un file:

head -n {{numero_di_linee}} {{file}}

  • Stampa a schermo i primi byte di un file:

head -c {{numero_di_byte}} {{file}}

  • Stampa a schermo tutto il file meno le ultime linee:

head -n -{{numero_di_linee}} {{file}}

  • Stampa a schermo tutto il file meno gli ultimi byte:

head -c -{{numero_di_byte}} {{file}}