/ Published in: Bash
infinitive loop in bash, useful if you want to have a self-healing process
Expand |
Embed | Plain Text
#!/bin/bash while : do echo "Press [CTRL+C] to stop.." sleep 1 done
You need to login to post a comment.
thoaionline on 11/23/11
2 people have marked this snippet as a favorite
infinitive loop in bash, useful if you want to have a self-healing process
#!/bin/bash while : do echo "Press [CTRL+C] to stop.." sleep 1 done
You need to login to post a comment.