1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 01:26:03 +02:00

tail: add example using -s parameter. (#4180)

This commit is contained in:
shyneko 2020-07-16 23:49:40 +03:00 committed by GitHub
parent 7c4aab2566
commit 94cb11e58d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,3 +21,7 @@
- Keep reading file until `Ctrl + C`, even if the file is rotated: - Keep reading file until `Ctrl + C`, even if the file is rotated:
`tail -F {{file}}` `tail -F {{file}}`
- Show last 'num' lines in 'file' and refresh every 'n' seconds:
`tail -n {{num}} -s {{n}} -f {{file}}`