Created
January 19, 2017 11:22
-
-
Save GeekyShiva/a51fed771e6b9bdda847cbdab4305fc4 to your computer and use it in GitHub Desktop.
Funny shell script to format bomb the system. //run it at you own risk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#disables control c | |
trap '' 2 | |
# disables control z | |
trap "" SIGTSTP | |
color='\E[30;40m' | |
clear | |
echo "Formating disk(s): " /dev/sd* | |
sleep 2 | |
echo "Initializing..." | |
sleep 2 | |
echo -ne "Are you sure you want to format these disks?(y/n): " | |
sleep 1 | |
echo "Y" | |
sleep 1 | |
echo "formating starts in 5 seconds" | |
sleep 1 | |
echo "4 seconds" | |
sleep 1 | |
echo "3 seconds" | |
sleep 1 | |
echo "2 seconds" | |
sleep 1 | |
echo "1 second" | |
sleep 1 | |
for i in {1..50000} | |
do | |
echo -n -e "\033[1m${color}0\033[0m" | |
done | |
sleep 20 | |
echo "" | |
echo /dev/sd* "are formatted." | |
sleep 1 | |
echo "be sure to make sure you reboot to clear operating system from RAM" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment