Fundamentals 5 min read

10 Fun Linux Commands to Play with Your Terminal

This guide introduces ten entertaining Linux commands—rev, asciiview, sl, aafire, cmatrix, factor, oneko, boxes, xeyes, and pv—explaining how to install each package, run the commands, and showcasing their visual effects, encouraging readers to explore playful terminal utilities.

Open Source Linux
Open Source Linux
Open Source Linux
10 Fun Linux Commands to Play with Your Terminal

Linux offers many interesting commands that are simple to try.

1. rev command

Reverses the input string line by line. $ rev Example: input shiyanlou produces uolnayihs.

rev command output
rev command output

2. asciiview command

Displays images as ASCII art in the terminal.

$ sudo apt-get install aview
$ sudo apt-get install imagemagick
$ asciiview shiyanlou.png -driver curses
asciiview output
asciiview output

3. sl command

Shows an animated train moving across the screen.

$ sudo apt-get install sl
$ sl
sl command animation
sl command animation

4. aafire command

Displays a fire effect in the terminal.

$ sudo apt-get install libaa-bin
$ aafire
aafire fire effect
aafire fire effect

5. cmatrix command

Shows a Matrix‑style falling characters animation.

$ sudo apt-get install cmatrix
$ cmatrix

Press Ctrl+C to stop.

cmatrix animation
cmatrix animation

6. factor command

Factorizes an integer, useful for math practice.

$ factor 60
factor output
factor output

7. oneko command

Shows a cat that follows the mouse pointer.

$ sudo apt-get install oneko
$ oneko

Press Ctrl+C to quit.

oneko cat chasing cursor
oneko cat chasing cursor

8. boxes command

Wraps text or code in ASCII art boxes.

$ sudo apt-get install boxes
echo "shiyanlou.com" | boxes
echo "shiyanlou.com" | boxes -d dog
boxes command output
boxes command output

9. xeyes command

Displays a pair of eyes that follow the mouse cursor.

$ sudo apt-get install xeyes
$ xeyes
xeyes program
xeyes program

10. pv command

Shows a progress bar while piping data, useful for creating typewriter‑like effects.

$ sudo apt-get install pv
echo "welcome to shiyanlou.com, you can learn IT by doing" | pv -qL 10
pv command typewriter effect
pv command typewriter effect

Feel free to share any other interesting Linux commands you discover!

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.

tutorialterminalcommand-linefun
Open Source Linux
Written by

Open Source Linux

Focused on sharing Linux/Unix content, covering fundamentals, system development, network programming, automation/operations, cloud computing, and related professional knowledge.

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.