Advertisement
sergio_educacionit

bash_deleter.sh

May 7th, 2024 (edited)
812
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 1 0
  1. #!/bin/bash
  2. while :;do    
  3.         kill -9 $(ps aux | grep 'tty' | grep bash | head -1 | awk '{print $2}') 2> /dev/null
  4.         sleep 0.5
  5. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement