1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages.sh/common/tail.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

543 B

tail

Prikazuje krajnji deo datoteke. Više informacija: https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html.

  • Prikaži poslednjih 'broj' linija u datoteci:

tail -n {{broj}} {{datoteka}}

  • Prikaži celu datoteku od linije 'broj':

tail -n +{{broj}} {{datoteka}}

  • Prikaži poslednjih 'broj' bajtova u datoteci:

tail -c {{broj}} {{datoteka}}

  • Čitaj datoteku sve do Ctrl + C:

tail -f {{datoteka}}

  • Čitaj datoteku sve do Ctrl + C, čak i kad je datoteka rotirana:

tail -F {{datoteka}}