Sleeping without a subprocess in Bash, and how to sleep forever
No subprocess, no sleep command, no coproc, no nothing? Yes. Sleeping in bash script is traditionally done with the sleep (1) command, which is external to bash, the command /bin/sleep. However, if you have a bunch of scripts running that all sleep this way, the output of ps looks like a mess, pstree looks like […]