Skip to content

Instantly share code, notes, and snippets.

@leonlaser
Last active March 26, 2019 09:56
Show Gist options
  • Save leonlaser/2a5c938c20b92ea384ea983782a3a65a to your computer and use it in GitHub Desktop.
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
#!/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