30 ms·
This could be quite handy as need to do this sort of thing surprisingly often and usually resort to a shell script one-liner like this: while true; do echo
by laumars 13y ago
This could be quite handy as need to do this sort of thing surprisingly often and usually resort to a shell script one-liner like this:
while true; do echo "hello world"; sleep 3; done
While that above code is pretty trivial to type, having a utility to this would be a great time saver for the lazy sysadmin :)
edit: someone else just posted about watch[1], never knew that existed before today. You learn something new every day :D
[1] https://news.ycombinator.com/item?id=6888640 https://news.ycombinator.com/item?id=6888640