tldr/pages.it/common/head.md
K.B.Dharun Krishna 5c26174aa9
pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

473 B

head

Stampa a schermo le prime linee di un file. Maggiori informazioni: https://manned.org/head.1p.

  • 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}}