1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +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

24 lines
543 B
Markdown

# 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}}`