Operations 7 min read

Fun Linux Command‑Line Utilities and How to Install Them

This guide introduces a collection of entertaining Linux terminal commands—including sl, fortune, cowsay, cmatrix, figlet, toilet, oneko, xeyes, yes, cal, shred, factor, and more—explains how to install each with apt‑get, shows typical usage examples, and warns about dangerous commands like sudo rm -rf /*.

Java Captain
Java Captain
Java Captain
Fun Linux Command‑Line Utilities and How to Install Them

This article presents a series of amusing Linux command‑line tools that can be installed via sudo apt-get install and used for visual effects, jokes, or simple utilities.

1. sl – displays an animated train. Install with sudo apt-get install sl and run sl. Options include -a, -l, -F, and -e. You can alias ls=sl for a prank.

2. fortune – prints a random quote or joke. Install with sudo apt-get install fortune and run fortune. The Chinese version can be installed with sudo apt-get install fortune-zh.

3. cowsay – prints ASCII animals speaking a message. Install with sudo apt-get install cowsay and run cowsay "I am not a cow, hahaha". Use cowsay -l to list animals and cowsay -f tux "text" to choose one. Combine with fortune | cowsay for random sayings.

4. cmatrix – shows a Matrix‑style falling‑code animation. Install with sudo apt-get install cmatrix and run cmatrix.

5. figlet / toilet – generate large ASCII banners. Install with sudo apt-get install figlet and sudo apt-get install toilet. Example usage: figlet "fuck you !" and toilet i love you. toilet -f mono12 -F gay a girl adds color.

6. oneko – displays a cat chasing the mouse pointer. Install with sudo apt-get install oneko and run oneko. Stop with Ctrl+C.

7. xeyes – shows a pair of eyes following the cursor. Install and run the same way as oneko.

8. yes – outputs a string endlessly until interrupted. Example: yes 我很NB.

9. cal 9 1752 – prints a quirky calendar for September 1752.

10. shred – securely overwrites files to make them unrecoverable.

11. factor – factorises integers; useful for simple math.

12. aptitude moo variations – demonstrate different verbosity levels with commands like aptitude moo, aptitude -v moo, up to aptitude -vvvvvvv moo.

13. blessed-contrib dashboard – a fancy terminal dashboard. Install Node.js and npm, clone the repository, then run node ./examples/dashboard.js.

14. hollywood – a flashy terminal “hacker” screen saver. Install with sudo apt-add-repository ppa:hollywood/ppa, then sudo apt-get install hollywood byobu, and launch with hollywood.

15. boxes – creates ASCII art frames. Install with sudo apt-get install boxes and use pipelines such as echo "Tongji University" | boxes or fortune | boxes -d cat | lolcat.

16. aafire – displays a burning ASCII fire. Install sudo apt-get install libaa-bin and run aafire.

17. Image‑to‑ASCII conversion – install aview imagemagick, download an image, then run asciiview Linus.png. Note: may not work on Raspberry Pi.

18. Dangerous command example – sudo rm -rf /* recursively deletes all files from the root directory. The article warns strongly against executing this on any production or personal system.

Overall, the piece encourages exploring these commands for fun, customizing them, and learning basic Linux terminal usage while reminding readers to handle destructive commands responsibly.

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.

LinuxshellUtilitiesterminalfunCommand-line
Java Captain
Written by

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

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.