Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Paste in the script from wikipedia
  2. Quote:#!/bin/sh
  3. time=${1:-60}
  4. sleep 1 &
  5. exec sleep $time
  6.  
  7. Save and exit the file
  8. Test it
  9. Code:
  10. bash zombie.bash &
  11. ps aux | awk '{ print $8 " " $2 }' | grep -w Z
  12. ps -el | grep -w Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement