Operations 8 min read

30 Fun Linux Commands to Wow Your Terminal and Prank Friends

This guide introduces a collection of entertaining Linux command‑line utilities—such as sl, fortune, cowsay, cmatrix, figlet, oneko, xeyes, yes, cal, shred, factor and more—providing installation steps, usage examples, options, and illustrative screenshots for each.

Efficient Ops
Efficient Ops
Efficient Ops
30 Fun Linux Commands to Wow Your Terminal and Prank Friends

This article presents a curated list of amusing Linux commands that can be installed and run on a Debian‑based system, each accompanied by brief descriptions, command‑line examples, optional flags, and screenshots.

1. sl command

Displays an animated train moving across the screen. Install with sudo apt-get install sl and run with sl. Options include -a (accident), -l (little), -F (fly), and -e (interrupt).

2. fortune command

Outputs a random quote, joke, proverb, or poem. Install with sudo apt-get install fortune (or fortune-zh for Chinese). Run with fortune.

3. cowsay command

Prints an ASCII art cow (or other animals) saying a message. Install with sudo apt-get install cowsay. Example: cowsay "I am not a cow, hahaha". Use cowsay -l to list available animals and cowsay -f tux "text" to choose one. You can pipe fortune into cowsay for random sayings.

4. cmatrix command

Shows a "Matrix"‑style falling characters animation. Install with sudo apt-get install cmatrix and run with cmatrix.

5. figlet / toilet commands

Generate large ASCII art text banners. Install with sudo apt-get install figlet (and toilet for colored output). Example: figlet "Hello" or toilet -f mono12 -F gay "a girl".

6. oneko command

Displays a cat that follows the mouse pointer; it sleeps when the mouse stops. Install with sudo apt-get install oneko and run with oneko. Stop with Ctrl+C.

7. xeyes command

Shows a pair of eyes that track the mouse cursor. Install and run similarly to the previous commands.

8. yes command

Continuously outputs a given string until interrupted (e.g., yes "I am awesome").

9. cal 9 1752

Displays the calendar for September 1752, a historically odd month due to calendar reform.

10. shred command

Securely overwrites files to make recovery difficult, useful for destroying sensitive data.

11. factor command

Decomposes an integer into its prime factors; suitable for quick factorization.

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 moo

13. blessed‑contrib dashboard

Creates a fancy terminal dashboard. Install Node.js, clone the repository, install dependencies, and run node ./examples/dashboard.js.

14. hollywood command

Displays a simulated hacking screen. Install via PPA and run with hollywood.

15. boxes command

Creates ASCII art boxes around text. Install with sudo apt-get install boxes and use pipelines such as echo "Tongji University" | boxes or fortune | boxes -d cat | lolcat.

16. aafire command

Shows a burning ASCII fire effect. Install with sudo apt-get install libaa-bin and run aafire.

17. Image‑to‑ASCII with aview

Install aview and imagemagick, download an image, then run asciiview Linus.png to view it as ASCII art.

18. Dangerous rm -rf /* command

Recursively and forcefully deletes all files from the root directory. Use with extreme caution; it can permanently destroy a system.

These playful commands can be explored further via their manual pages, and users are encouraged to experiment responsibly and creatively.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Utilitiesterminalcommand-linefun
Efficient Ops
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.