Guest User

Untitled

a guest
Dec 6th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. while [[ $# -gt 0 ]]
  4. do shift 1
  5. done
  6.  
  7. echo $@
  8.  
  9. ps -l | grep -- $0 | grep -v grep | awk '{print $9}'
Add Comment
Please, Sign In to add comment