Last active
March 26, 2019 09:56
-
-
Save leonlaser/2a5c938c20b92ea384ea983782a3a65a to your computer and use it in GitHub Desktop.
[Bash wait forever] Test script for signaling a process to stop #bash #while #sleep #loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while : | |
do | |
echo "Press [CTRL+C] to stop.." | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment