Discover 15 Fun Linux Commands That Turn Your Terminal Into a Playground
This guide introduces fifteen entertaining Linux commands—from reversing strings with rev and viewing images with asciiview to playing classic games like ninvaders and pacman4console—providing installation instructions, example usages, and screenshots that showcase each tool’s quirky behavior for both learning and amusement.
Linux offers many interesting commands that are simple to try and can add fun to your terminal.
1. rev
Reverses each input line character by character. rev Example: input shiyanlou produces uolonayhs.
2. asciiview
Install aview and imagemagick, then view images in the terminal.
sudo apt-get install aview sudo apt-get install imagemagick asciiview shiyanlou.png -driver curses3. sl
Displays an animated train moving across the screen.
sudo apt-get install sl sl4. aafire
Creates a Matrix‑style fire animation in the terminal.
sudo apt-get install libaa-bin aafire5. cmatrix
Displays the classic Matrix falling characters effect.
sudo apt-get install cmatrix cmatrixPress Ctrl+C to stop.
6. factor
Factors an integer, useful for quick math checks.
factor 607. oneko
Shows a cat that follows your mouse pointer.
sudo apt-get install oneko onekoPress Ctrl+C to exit.
8. boxes
Wraps text or code in ASCII art boxes.
sudo apt-get install boxes echo "gaoxiaoyunwei" | boxesOr use a predefined style:
echo "gaoxiaoyunwei" | boxes -d dog9. xeyes
Displays a pair of eyes that follow the cursor.
sudo apt-get install xeyes xeyes10. pv
Creates a typewriter‑like effect for text streams.
sudo apt-get install pv echo "welcome to shiyanlou, you can learn DevOps by doing" | pv -qL 1011. yes
Continuously outputs a specified string until interrupted.
yes hello,world12. bastet
Play Tetris in the terminal.
sudo apt-get install bastet13. ninvaders
Space Invaders clone for the command line.
sudo apt install ninvaders ninvadersUse arrow keys to move and space to shoot.
14. pacman4console
Classic Pac‑Man game in the console.
sudo apt install pacman4console pacman4console15. greed
Navigate a numeric maze where your position is shown by a flashing “@”.
sudo apt install greed greedControl with the arrow keys.
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.
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.
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.
