Re:Hacker News Hug of Deaf
by choult on Thursday April 10, 2025 @09:18AM
(#43643487)
FYI, next time try `watch -n 5 <cmd>`
[ Parent
| on HN ]
What benefit does running another program offer when the program running the command (shell) already provides that functionality?
Re:Hacker News Hug of Deaf
by RunningDroid on Thursday April 10, 2025 @09:27AM
(#43643568)
Watch also clears the terminal between runs
Re:Hacker News Hug of Deaf
by inanutshellus on Thursday April 10, 2025 @09:34AM
(#43643615)
I guess that'd be a detractor, as he wouldn't've been able to make his post showing his results over time.
I'd've said the benefit is that it's simply a concise single command instead of a "while true" loop and a "sleep 5" command.
Re:Hacker News Hug of Deaf
by fc417fc802 on Thursday April 10, 2025 @01:04PM
(#43645932)
That logic seems to apply to quite a few basic utilities. For that matter, the shell is turing complete so ...