10 Fun Linux Commands to Play with Your Terminal
This guide introduces ten entertaining Linux command‑line tools—rev, asciiview, sl, aafire, cmatrix, factor, oneko, boxes, xeyes, and pv—explaining how to install each package on Debian‑based systems, showing example usage, and illustrating the visual effects with screenshots.
1. rev command
The rev utility reverses the characters of each input line. After installing (it is usually pre‑installed), run the command and provide a string, e.g., echo shiyanlou | rev, which outputs ulanyihs.
$ rev2. asciiview command
Displays images as ASCII art in the terminal. First install the required packages:
$ sudo apt-get install aview $ sudo apt-get install imagemagickThen run: $ asciiview shiyanlou.png -driver curses The resulting ASCII rendering is shown in the accompanying screenshot.
3. sl command
The sl program displays an animated steam locomotive moving across the screen, a playful alternative to mistyping ls. Install it with: $ sudo apt-get install sl Run the command:
$ sl4. aafire command
aafirecreates a fire‑like animation using ASCII characters. Install the required library first: $ sudo apt-get install libaa-bin Then execute:
$ aafire5. cmatrix command
cmatrixproduces the iconic “Matrix” falling‑character effect. Install it with: $ sudo apt-get install cmatrix Run the program: $ cmatrix Press Ctrl+C to stop.
6. factor command
The factor utility decomposes an integer into its prime factors, useful for quick math checks. Example:
$ factor 607. oneko command
onekodisplays a small cat that chases the mouse pointer; it sleeps when the cursor stops. Install it: $ sudo apt-get install oneko Run: $ oneko Terminate with Ctrl+C.
8. boxes command
boxesdraws ASCII art boxes around input text. Install it: $ sudo apt-get install boxes Example usage: $ echo "shiyanlou.com" | boxes Or with a specific style:
$ echo "shiyanlou.com" | boxes -d dog9. xeyes command
xeyesopens a small X‑window showing a pair of eyes that follow the mouse cursor. Install it: $ sudo apt-get install xeyes Run:
$ xeyes10. pv command
pv(Pipe Viewer) visualizes data flow through a pipeline, optionally throttling the rate. Install it: $ sudo apt-get install pv Example to display a message at 10 characters per second:
$ echo "welcome to shiyanlou.com, you can learn IT by doing" | pv -qL 10These ten commands showcase playful and useful utilities that can be installed on any Debian‑based Linux distribution, providing both entertainment and quick‑look functionality directly in the terminal.
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.
