Guest User

Untitled

a guest
Jan 12th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/bash
  2. PID=`ps ax | grep firefox | awk '{ print $1 }'`
  3. echo $PID
  4. PROCESS=`kill -0 $PID`
  5. #for i do $PROCESS; done
  6. if [ -e $PROCESS ]; then
  7. echo 'lalala'
  8. fi
Add Comment
Please, Sign In to add comment