Last active
May 13, 2016 09:42
-
-
Save und3f/fba6ce7c3081e8b2beae3e6d27142578 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
sleep 10 | |
echo Executed |
This file contains 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/sh | |
pkexec /tmp/test.sh & | |
PID=#! | |
sleep 5 | |
echo $PID | |
kill -HUP $! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment