So, do you think that in a Linux terminal everything is about work and not words about fun? Well, we’ve found some fun commands that should change your mind.
The Linux terminal is a place for serious work and on our resource you can find a lot of useful tips and recommendations on Linux that will help you with this.
But did you know that you can use the terminal, which is called just fo fan-have fun? Well, if not, then you are not alone. Most Linux users view the terminal as an interface that is designed and built for system management and development tasks.
One way or another, you’ll be surprised to learn that there are plenty of terminal-based games and ASCII-based games out there.
And in this article, I’m going to explore some interesting, fun, and funny commands that you can type into a terminal in Linux and have fun!
Have fun in the Linux terminal with these commands
Many of these commands you will find ridiculous or useless, but even some of them can be useful.
I have added instructions for installing Ubuntu / Debian. If you are using an Ubuntu-based distribution, be sure to include the Universe repository, as most of these commands are missing from the main repository.
If you use Arch, Fedora, SUSE, Solus, or any other distributions other than Ubuntu, use your distribution’s package manager to install these fun Linux commands.
1. Start the train at the terminal
Let’s take a ride on the locomotive and start our auspicious journey. And when I say “take a ride on the locomotive”, I literally mean it!
The sl command allows you to start the train at your terminal.
Here’s how to install this command:
sudo apt install sl
Once the installation is complete, you can simply enter the following in the terminal to start:
Impressive, isn’t it? But, wait. We’re not done yet! Apparently, you can make your locomotive take off. Just add the-F option, Mr. Potter:
This command should make the locomotive fly out of the terminal window!
2. Add the Matrix effect to your Linux terminal
Remember the cult sci-fi movie “The Matrix”? The green characters crawling down the screen became the Matrix’s hallmark.
You can make a similar “matrix-digital rain” on your Linux machine! You just need to install cmatrix and run it in the terminal.
Installing cmatrix on Debian / Ubuntu Linux:
sudo apt install cmatrix
Now all you have to do is type the following to get the matrix screen on the terminal:
Press Ctrl + C to stop it, Mr. Anderson.
3. Let there be fire
Keep your fire extinguisher handy, because now you’re going to light a fire in your terminal!
To install it, here’s what you need to type:
sudo apt install libaa-bin
Once the installation is complete, start the fire in your terminal by typing:
Press Ctrl + C to stop it.
4. Cookies, more precisely, a team with a prediction
Do you want to know your fate, but there are no fortune cookies at hand?
Don’t worry, you just need to type “fortune” on your terminal and press Enter. The terminal will display a random sentence-almost the same mechanism as in cookies.
Install it using:
sudo apt install fortune
Once installed, just enter the command below to find out your future:
Now you can use this command as, for example, the message of the day, so that in a multi-user environment, each user is greeted with a random phrase from a fortune cookie when logging in.
You can also add it to your bashrc file so that a random message is displayed immediately after you log in to the terminal.
5. Do you like pets? Then this chip is for you.
Oneko is a fun little command that will turn your normal cursor into a mouse and create a curious little cat that will chase your cursor as soon as you move it. And these fun catch-up games are not limited to the terminal window. You can continue to work, and the cat will continue to chase the cursor.
And this is especially interesting if you have children at home.
To install Oneko, enter the command:
sudo apt install oneko
And to run this one:
And you can always replace a cat with a dog with the command:
There are several other types of cats. You can get detailed information about them using the oneko –help command. And to stop the program execution, use the shortcut Ctrl + C.
6. Little brother is watching you
Xeyes is a tiny graphics program that allows the user to display a pair of constantly watching eyes! This look will relentlessly haunt your mouse cursor. Run the command and see for yourself!
You can install it using this command:
sudo apt install xeyes
And then use with this:
To pause the operation of the little brother, press the keyboard shortcut Ctrl+C.
7. Let the terminal speak for you
To try this command, make sure you have your speakers turned on. eSpeak is a fun command that gives your terminal a voice. Yes, yes, you heard right.
Install the package first:
sudo apt install espeak
Then you just need to enter the command along with the text you want to listen to as audio:
espeak "Type what your computer says"
Whatever you put in double quotes, your computer must say it! The mechanism of operation is similar to the echo command in Linux. Only instead of the text – a human voice.
8. Toilet (which has nothing to do with the toilet)
That sounds weird, yes. But this is just a command that converts text to large ASCII characters.
Install the toilet using this command:
sudo apt install toilet
Once the installation is finished, you just need to enter:
toilet sample text you want
I have no idea why this little program is called a toilet.
9. What does the cow say?
Cowsay is a command that displays a cow using ASCII characters in the terminal. And with it, you can also instruct the cow to say anything you can think of.
However, do not expect that this will be an audio playback-the program will simply display the text (as you usually see in comics).
sudo apt install cowsay
After installation, simply enter:
cowsay "your text"
Whatever you put in double quotes, your cow will have to say it! I have seen several system administrators who have used such a cow to display the message of the day. Maybe you can do the same. Or you can try combining it with the”fortune cookies” command.
10. Banner Team
The banner command works the same way as the toilet command, but is limited to printing a maximum of ten characters.
You can set the banner command as follows:
sudo apt install sysvbanner
Then use it as follows:
Replace the content in double quotes with the desired text and you will get it.
11. The “YES” command»
The “yes” command helps you loop the automatic response until you abort it. This command will print the same thing endlessly. If you want to quickly create a huge amount of unnecessary text, this command will work like your little amulet.
You can also use it to provide an affirmative answer to any other programs that may request it. For example, if the apt upgrade command asks for your confirmation, you can use the ” YES ” command as follows:
yes | sudo apt upgrade
You don’t need to install any additional package for this. The “Yes” command is already available.
To end the cycle of the yes command, you can press the keyboard shortcut CTRL + C.
12. Generate a fake identity, well, almost
Want to create a random fake identity? I brought you the ” rig ” command. As soon as you run it in the terminal, it will generate a fake identity.
Install the rig using the command:
sudo apt install rig
Now just type in the terminal:
It can be used in scripts or web applications that display random information, however, I have not done anything of the sort on my own.
I hope you enjoyed this list of fun Linux commands.
Which of the following commands did you like the most?
Do you know any other fun teams that we missed out on?
Share this with us in the comments section.