10 Fun Linux Commands to Play with in Your Terminal
Explore a collection of entertaining Linux command‑line tools—including rev, asciiview, sl, aafire, cmatrix, factor, oneko, boxes, xeyes, and pv—each with simple apt‑get installation steps and example usages that showcase quirky visual effects and handy utilities for any terminal enthusiast.
1. rev – Reverse Input Strings
Reverses each line of the input string. $ rev Example: entering shiyanlou outputs uolnayhsi.
2. asciiview – Display Images as ASCII Art
Install the required packages:
$ sudo apt-get install aview
$ sudo apt-get install imagemagickRun the command to view an image: $ asciiview shiyanlou.png -driver curses The image is rendered as ASCII characters in the terminal.
3. sl – Steam Locomotive Animation
Install and run a playful train animation that moves from right to left:
$ sudo apt-get install sl
$ sl4. aafire – Terminal Fire Effect
Install the library and launch a fire animation:
$ sudo apt-get install libaa-bin
$ aafire5. cmatrix – Matrix‑style Scrolling Text
Install and start the iconic "Matrix" effect; press Ctrl+C to stop:
$ sudo apt-get install cmatrix
$ cmatrix6. factor – Prime Factorization
Factorizes numbers, useful for quick math checks: $ factor 60 Outputs the prime factors of 60.
7. oneko – Cat That Follows Your Mouse
Install and run a cute animated cat that chases the cursor; press Ctrl+C to exit:
$ sudo apt-get install oneko
$ oneko8. boxes – Create ASCII Boxes Around Text
Install and use to wrap text or commands in decorative boxes:
$ sudo apt-get install boxes
$ echo "shiyanlou.com" | boxesVarious box styles are available, e.g., boxes -d dog.
9. xeyes – Graphical Eye Tracker
Install and launch a graphical program that displays a pair of eyes following the mouse pointer:
$ sudo apt-get install xeyes
$ xeyes10. pv – Pipe Viewer for Visual Progress
Install and use to simulate typing effects or monitor data flow. Example showing a slow echo:
$ sudo apt-get install pv
$ echo "welcome to shiyanlou.com, you can learn IT by doing" | pv -qL 10The command prints the text at a controlled rate, creating a subtitle‑like effect.
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.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
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.
