3 ms·
`watch` is better in some cases.
by maest 5y ago
`watch` is better in some cases.
- touisteur 5y agowatch is so neat to look up /proc/net or ethtool and check for changes. I'm more of a while true ; do read -t 1 ; date +%s.%N ; do_stuff...
- ImaCake 5y agoI use both! `tail` in one window for the log file from whatever program I am running. And `watch -n 0.1 ls -lh` in another to keep an eye on the file I am writing to. Sometimes I'll put a watch on the harddrive just to make sure I am not filling it gigabytes of crap.