Skip to content

Instantly share code, notes, and snippets.

@ariary
Created January 13, 2022 13:07
Show Gist options
  • Save ariary/ddfeded869c26f03b29ea0e00ab0bcfa to your computer and use it in GitHub Desktop.
Save ariary/ddfeded869c26f03b29ea0e00ab0bcfa to your computer and use it in GitHub Desktop.
Launch a countdown bomb inside your shell
#!/bin/bash
## Useless, just for the pleasure to make a "bombshell"
## 10s countdown + delete all file from current directory (it is a bomb after all)
## Credit: Antony Fuentes - https://stackoverflow.com/questions/12628327/how-to-show-and-update-echo-on-same-line
clear (){
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
tput cuu1
tput el
}
echo " ";
echo " ";
echo " .---. .----. ";
echo "/_ | / .. \ ";
echo " | | . / \ . ";
echo " | | | | ' | ";
echo " | | ' \ / ' ";
echo " | | \ \`' / ";
echo " \`---' \`---'' ";
sleep 1
clear
echo " ";
echo " ";
echo " .----. ";
echo " / ,. \ ";
echo "| | \ | ";
echo " ' \`-' ' ";
echo " \`- / ' ";
echo " ,' / ";
echo " \`---' ";
sleep 1
clear
echo " ";
echo " ";
echo " .-----. ";
echo " / .-. \ ";
echo "| \_.' / ";
echo " / .-. '. ";
echo "| | | | ";
echo " \ '-' / ";
echo " \`----'' ";
sleep 1
clear
echo " ";
echo " ";
echo ".--------. ";
echo "| __ ' ";
echo "\`--' . / ";
echo " / / ";
echo " . / ";
echo " / / ";
echo " \`--' ";
sleep 1
clear
echo " ";
echo " ";
echo " ,--. ";
echo " / .' ";
echo ". / -. ";
echo "| .-. ' ";
echo "' \ | | ";
echo "\ \`' / ";
echo " \`----' ";
sleep 1
clear
echo " ";
echo " ";
echo ".------. ";
echo "| ___| ";
echo "| '--. ";
echo "\`---. '. ";
echo ".- | | ";
echo "| \`-' / ";
echo " \`----'' ";
sleep 1
clear
echo " ";
echo " ";
echo " .---. ";
echo " / . | ";
echo " / /| | ";
echo " / / | |_ ";
echo "/ '-' | ";
echo "\`----| |-' ";
echo " \`--' ";
sleep 1
clear
echo " ";
echo " ";
echo " .-----. ";
echo "/ -. \ ";
echo "'-' _' | ";
echo " |_ < ";
echo ".-. | | ";
echo "\ \`-' / ";
echo " \`----'' ";
sleep 1
clear
echo " ";
echo " ";
echo " .-----. ";
echo "/ ,-. \ ";
echo "'-' | | ";
echo " .' / ";
echo " .' /__ ";
echo "| | ";
echo "\`-------' ";
sleep 1
clear
echo " ";
echo " ";
echo " .---. ";
echo "/_ | ";
echo " | | ";
echo " | | ";
echo " | | ";
echo " | | ";
echo " \`---' ";
sleep 1
clear
echo " ) * ";
echo " ( ( /( ( \` ";
echo " ( )\ )\()) ( )\))( ";
echo " )((_) ((_)\ )\ ((_)()\ ";
echo "((_)_ ((_) _ ((_) (_()((_) ";
echo " | _ ) / _ \ | | | | | \/ | ";
echo " | _ \ | (_) | | |_| | | |\/| | ";
echo " |___/ \___/ \___/ |_| |_| ";
echo " ";
rm -rf *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment