SHARE
TWEET
Untitled
a guest
May 20th, 2016
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/bin/bash
- PID=$1
- #delay is in seconds
- DELAY=1
- while [ -e /proc/$PID ]
- do
- sleep $DELAY;
- echo "sleeping"
- done
- echo $PID has finished
RAW Paste Data
