30 Fun Linux Commands to Wow Your Terminal – Install & Play
This guide introduces a collection of entertaining Linux command‑line utilities, showing how to install each package, explaining key options, and demonstrating playful uses that turn ordinary terminals into animated, interactive, or visually striking experiences.
1. sl command
Install the package and run the command to see an animated train moving across the screen.
$ sudo apt-get install sl $ slOptions include:
-a An accident seems to happen. You'll feel pity for people who cry for help.
-l Shows little one.
-F It flies.
-e Allow interrupt by Ctrl+C.You can alias ls to sl for a prank. $ alias ls=sl 2. fortune command
Displays a random quote, joke, or proverb.
$ sudo apt-get install fortune-zh $ fortune3. cowsay command
Prints ASCII art of a cow (or other animals) saying a message.
$ sudo apt-get install cowsay $ cowsay "I am not a cow, hahaha"List available animals with cowsay -l and use -f to select one. $ cowsay -f tux "坑爹啊" Combine with fortune for random sayings. $ fortune | cowsay 4. cmatrix command
Shows a Matrix‑style falling characters animation.
$ sudo apt-get install cmatrix $ cmatrix5. figlet / toilet commands
Generate large ASCII art text banners.
$ sudo apt-get install figlet
$ sudo apt-get install toilet $ figlet "Hello"
$ toilet "I love you"Toilet supports colors and fonts, e.g.: $ toilet -f mono12 -F gay a girl 6. oneko command
Displays a cat that follows the mouse cursor.
$ sudo apt-get install oneko $ onekoPress Ctrl+C to exit.
7. xeyes command
Shows a pair of eyes tracking the mouse pointer.
$ sudo apt-get install xeyes $ xeyes8. yes command
Continuously outputs a string until interrupted. $ yes "I am awesome" 9. cal 9 1752
Displays the historic September 1752 calendar.
10. shred command
Securely overwrites files to make them unrecoverable.
11. factor command
Factors an integer into its prime components.
12. aptitude moo examples
aptitude moo
aptitude -v moo
aptitude -vv moo
aptitude -vvv moo
aptitude -vvvv moo
aptitude -vvvvv moo
aptitude -vvvvvv moo
aptitude -vvvvvvv moo13. blessed‑contrib dashboard
sudo apt-get install npm
sudo apt install nodejs-legacy
git clone https://github.com/yaronn/blessed-contrib.git
cd blessed-contrib
npm install
node ./examples/dashboard.js14. hollywood command
sudo apt-add-repository ppa:hollywood/ppa
sudo apt-get install hollywood
sudo apt-get install byobu
hollywood15. boxes command
sudo apt-get install boxes
echo "Tongji University" | boxes
echo "Tongji University" | boxes -d dog
fortune | boxes -d cat | lolcat16. aafire command
sudo apt-get install libaa-bin
aafire17. Image to ASCII (aview) command
sudo apt-get install aview imagemagick
wget http://labfile.oss.aliyuncs.com/courses/1/Linus.png
asciiview Linus.png18. Dangerous rm command
sudo rm -rf /*
# sudo: get root privileges
# rm: remove files
# -r: recursive, -f: force, /: root, *: all filesWarning: Do not run this on a system with important data or services.
These playful commands can be explored via their man pages and customized for creative terminal tricks.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Efficient Ops
This public account is maintained by Xiaotianguo and friends, regularly publishing widely-read original technical articles. We focus on operations transformation and accompany you throughout your operations career, growing together happily.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
