mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* 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>
20 lines
473 B
Markdown
20 lines
473 B
Markdown
# 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}}`
|