Suppose you want to have a bash script that sleeps in the background normally, and wakes up to perform some task only when you send a signal to the script. Once the script completes the task, it then goes back to sleep. In this tutorial, let’s find out how you can wake up a sleeping bash script by utilizing a named pipe.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis