How to wake up a sleeping bash script

Posted by xmodulo on Mar 12, 2021 4:11 AM EDT
Xmodulo; By Dan Nanni
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.