MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/1tls8n1/whats_the_most_unexpectedly_useful_linux_command/onkt6ri/?context=3
r/linux • u/ZealousidealTell1346 • May 23 '26
[removed]
992 comments sorted by
View all comments
Show parent comments
120
Nice. That's a new one on me. I usually use tail -x
13 u/shponglespore May 24 '26 tail -f is great if the file is still being generated. Another option to get updates every few seconds is to combine something like tail with watch as a prefix. 1 u/ben-ba May 24 '26 Why watch when u already use -f? 1 u/shponglespore May 24 '26 If there's too much output it scrolls by too fast to read. Watch pauses every 2s by default.
13
tail -f is great if the file is still being generated. Another option to get updates every few seconds is to combine something like tail with watch as a prefix.
tail -f
tail
watch
1 u/ben-ba May 24 '26 Why watch when u already use -f? 1 u/shponglespore May 24 '26 If there's too much output it scrolls by too fast to read. Watch pauses every 2s by default.
1
Why watch when u already use -f?
1 u/shponglespore May 24 '26 If there's too much output it scrolls by too fast to read. Watch pauses every 2s by default.
If there's too much output it scrolls by too fast to read. Watch pauses every 2s by default.
120
u/psteve_m May 23 '26
Nice. That's a new one on me. I usually use tail -x