daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top