Created
August 13, 2018 23:55
-
-
Save chaspy/2d8889efec0f4592153ad507c4004baf to your computer and use it in GitHub Desktop.
Revisions
-
chaspy created this gist
Aug 13, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash touch /tmp/trap.$$ trap 'echo "trapped"; rm /tmp/trap.$$; exit 1' 2 while : do echo "loop" sleep 10 done rm /tmp/trap.$$