A collection of fun, harmless bash tricks and pranks that won't break anything!
# Rainbow text
echo -e "\033[31mR\033[32ma\033[33mi\033[34mn\033[35mb\033[36mo\033[37mw\033[0m Text!"
# Blinking text
echo -e "\033[5mThis text blinks!\033[0m"
# Bold and underlined
echo -e "\033[1m\033[4mBold and underlined!\033[0m"# Simple progress bar
for i in {1..50}; do
echo -ne "Progress: [$(printf "%${i}s" | tr ' ' '=')]$(printf "%$((50-i))s" | tr ' ' ' ') $((i*2))%\r"
sleep 0.1
done
echo
# Fake installation
echo "Installing awesome_package..."
for i in {1..100}; do
echo -ne "Installing: $i%\r"
sleep 0.05
done
echo -e "\nInstallation complete! π"# Random excuse generator
excuses=("The dog ate my code" "Solar flares interfered with my WiFi" "My rubber duck stopped talking to me" "I was abducted by aliens" "The coffee machine is broken")
echo "Excuse of the day: ${excuses[$RANDOM % ${#excuses[@]}]}"
# Magic 8-ball
answers=("Yes definitely" "Ask again later" "Very doubtful" "Outlook good" "Don't count on it" "Most likely")
echo "Magic 8-ball says: ${answers[$RANDOM % ${#answers[@]}]}"# Fake matrix code (simplified)
while true; do
echo $(printf "%$((COLUMNS))s" | tr ' ' '01')
sleep 0.1
done
# Typewriter effect
text="This text appears like a typewriter!"
for (( i=0; i<${#text}; i++ )); do
echo -n "${text:$i:1}"
sleep 0.1
done
echo
# Countdown timer
for i in {10..1}; do
echo -ne "Launch in: $i \r"
sleep 1
done
echo "π Blast off!"# Make cat meow
alias cat='echo "Meow! π±"; cat'
# Polite commands
alias please='sudo'
alias thanks='echo "You'\''re welcome! π"'
# Fun ls variations
alias ll='ls -la && echo "Files listed with love β€οΈ"'
alias la='ls -la | lolcat' # Requires lolcat package# Simple banner
figlet "PRANKED!" 2>/dev/null || echo "
____ ____ _ _ _ _ _______ ____
| _ \| _ \ / \ | \ | | |/ / ____| _ \
| |_) | |_) / _ \ | \| | ' /| _| | | | |
| __/| _ < ___ \| |\ | . \| |___| |_| |
|_| |_| \_\_/ \_\_| \_|_|\_\_____|____/
"
# Birthday surprise
echo "
π Happy Birthday! π
$(date '+It'\''s %A, %B %d, %Y')
Hope your code compiles on the first try today!
"- Test safely: These are all harmless and won't damage your system
- Temporary fun: Most effects can be stopped with
Ctrl+C - Share responsibly: Use these for fun, not to annoy people
- Restore normalcy: Use
resetcommand to clear terminal effects
# Fake system info
echo "System Status:"
echo "CPU Temperature: $((RANDOM % 20 + 30))Β°C"
echo "Memory Usage: $((RANDOM % 50 + 30))%"
echo "Disk Space: $((RANDOM % 90 + 5))% free"
echo "WiFi Strength: $((RANDOM % 4 + 1))/5 bars"
# Motivational terminal
quotes=("You're doing great!" "Keep coding!" "Debug like a detective!" "Coffee time?" "One more commit!")
echo "πͺ Daily motivation: ${quotes[$RANDOM % ${#quotes[@]}]}"
# Fake weather report
weather=("Sunny with a chance of bugs" "Cloudy with scattered semicolons" "Heavy rain of coffee required" "Partly cloudy with 100% chance of coding")
echo "π€οΈ Coding weather: ${weather[$RANDOM % ${#weather[@]}]}"Remember: These are all for fun and completely harmless! Enjoy responsibly! π