10 Fun Linux Commands Every IT Enthusiast Should Try
This article introduces ten entertaining Linux commands—rev, asciiview, sl, aafire, cmatrix, factor, oneko, boxes, xeyes, and pv—showing how to install each with apt‑get, run simple examples, and enjoy the quirky visual effects they produce in the terminal.
Linux provides many amusing command‑line utilities that are easy to experiment with. Below is a curated list of ten fun commands, each with installation instructions, a basic usage example, and a screenshot of the output.
1. rev
The rev command reverses each input line character by character. $ rev Example: shiyanlou Output (shown in the image):
2. asciiview
First install aview and imagemagick, then run asciiview to display images as ASCII art.
$ sudo apt-get install aview $ sudo apt-get install imagemagick $ asciiview shiyanlou.png -driver cursesResult is shown in the following screenshot:
3. sl
The sl command displays an animated train moving across the screen.
$ sudo apt-get install sl $ sl4. aafire
aafirerenders a fire effect directly in the terminal.
$ sudo apt-get install libaa-bin $ aafire5. cmatrix
cmatrixcreates a "Matrix"‑style falling characters animation.
$ sudo apt-get install cmatrix $ cmatrixPress Ctrl+C to stop.
6. factor
factorperforms prime factorization, useful for helping children with math problems.
$ factor 607. oneko
onekodisplays a small cat that follows the mouse cursor; it sleeps when idle.
$ sudo apt-get install oneko $ onekoTerminate with Ctrl+C.
8. boxes
boxesdraws ASCII art boxes around input text or code.
$ sudo apt-get install boxes $ echo "shiyanlou.com" | boxesOr use a specific style:
$ echo "shiyanlou.com" | boxes -d dog9. xeyes
xeyesopens a graphical program showing a pair of eyes that follow the mouse pointer.
$ sudo apt-get install xeyes $ xeyes10. pv
pvvisualizes data flow, allowing you to display text at a controlled rate, similar to subtitles appearing on a movie screen.
$ sudo apt-get install pv $ echo "welcome to shiyanlou.com , you can learn IT by doing" | pv -qL 10Feel free to share any other interesting Linux commands you know, and they can be added to the list.
Linux Tech Enthusiast
Focused on sharing practical Linux technology content, covering Linux fundamentals, applications, tools, as well as databases, operating systems, network security, and other technical knowledge.
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.
