Linux Commands to have fun in terminal
Linux Commands to have fun in terminal? Literally fun? The answer is Yes
I’ve seen a lot of you were complaining that linux is a boring programming language but it’s not. It’s actually fun and you could do a lot of unique stuff just with Linux.
So you believe using the Linux terminal is only labor and not enjoyable? You’ll be proven wrong by these amusing Linux commands.
You might not be aware, though, that using the terminal can be a lot of fun. If you didn’t, you’re not the only one. The majority of Linux users consider the terminal to be an interface designed primarily for system administration and development tasks.
Here are some intriguing and entertaining Linux Commands to have fun in terminal.
Enjoy!
-
Run a train
You may operate a railroad in your terminal with the sl command.
For installing the command type
sudo apt install sl
When finished, simply enter the following commands in the terminal to begin.
sl
It appears that your locomotive can fly. Simply add the -F option.
sl -F
The locomotive should acquire wings and launch itself out of the terminal window as a result.
-
Matrix
Recall the venerable science-fiction film The Matrix? The green lettering that was descending into the terminal took on the identity of the Matrix.
This digital rain from the Matrix is also available for Linux systems! Cmatrix just requires installation and typing at the terminal.
Cmatrix installation on Debian or Ubuntu Linux:
sudo apt install cmatrix
Now, you have to do to access the terminal’s matrix screen is type the following:
cmatrix
Press Ctrl+C to stop it.
-
Let there be fire
You’re about to set a fire in your terminal, so keep your fire extinguisher nearby!
Here is what you need to write to install it.
sudo apt install libaa-bin
Start a fire on your terminal after you’re finished by typing.
aafire
-
Oneko command
The delightful little command “Oneko” turns your standard cursor into a mouse and generates an inquisitive kitten that will start chasing your cursor as soon as you move it. It extends beyond the terminal alone. The cat may chase the cursor as you continue to work.
Particularly if you have kids at home, that sounds like a lovely pastime to engage in.
Use this command to install Oneko.
sudo apt install oneko
Use this command to launch it:
Oneko
If a dog is what you’d want instead of a cat, type:
oneko –dog
There are a few further cat breeds. Use oneko -help to obtain such information. Use Ctrl+C to stop it.
-
xeyes command
An ever-watching pair of eyes may be drawn with the small GUI program Xeyes. Your mouse pointer will be continually followed by it. Try the command to verify it for yourself.
This command may be used to install it:
sudo apt install xeyes
Use it next with this:
xeyes
-
espeak command
Ensure that your speakers are on before using this command. eSpeak is a fun command that speaks to your terminal. Yes, what you heard was true.
First, install the package:
sudo apt install espeak
Next, just enter the following command and the text you wish to hear as audio:
espeak “Type what your computer says”
-
Toilet (but not in the sense of a lavatory)
Yes, that does sound strange. But all it does is convert a text into a long string of ASCII letters.
With this command, install the toilet:
sudo apt install a toilet
Once finished, simply input the following:
toilet sample text you want
-
cowsay command
Using ASCII characters, the Cowsay command shows a cow at the terminal. Additionally, you may tell the cow to say anything you want by giving this command.
Install cowsay:
sudo apt install cowsay
Once it’s installed, all you have to do is enter the following:
cowsay “your text”
-
telehack Command
The website “telehack” offers a text-based user interface simulating a command-line environment where you may interact with various commands, explore simulated systems, play text-based games, read articles, and even take part in a simulated plot.
Enter the following command on the telehack website.
$ starwars
-
rev Command
The rev command is used to change the line-by-line character order of an input. It receives the input from files or the standard input and prints the lines backward.
Use the following command to make the characters in a file the opposite.
$ rev tecmint.txt
-
yes Command
The yes command is frequently used in scripts or command-line actions that call for automatic or repeated input of a certain value. It prints a continuous stream of the provided string or text continually until terminated.
$ yes I Love Linuxiron.com
Fork Bomb
A fork bomb is a sort of malicious code or command that uses the operating system’s “fork” system call to rapidly and exponentially create child processes to create a denial-of-service (DoS) problem.
Additionally, it may result in a significant interruption, data loss, or system damage, rendering you inactive and necessitating a restart of the computer to restore control.
You should only use the fork command once to test its strength; do so at your own risk. Before launching a fork bomb, quit all other applications and save all other files.
$ :(){ :|: & };:
Let’s examine the operation of the fork bomb:
:(){ … } – The function “:” (a colon) is defined here without any parameters.
:|: – By pipelining the function’s output to another instance of the function, this invokes the function again.
& – The command is now running in the background, enabling parallel execution.
;: After the initial invocation, this calls the function once again, making it run continuously.
-
while Command
The bash script that follows while gives you a coloured date and time in a stylised ASCII art format when using the bathroom. It continually runs the instructions using a while loop, delaying each execution by one second.
$ while true; do echo “$(date ‘+%D %T’ | toilet -f term -F border –gay)”; sleep 1; done
This is a description of the command.
while true; do # Start an infinite loop
echo “$(date ‘+%D %T’ | toilet -f term -F border –gay)”; # Print the formatted date and time using toilet
sleep 1; # Delay for 1 second
done
Check the output of the preceding script in your terminal after changing it with the following command to see how it differs somewhat from the original output.
$ while true; do clear; echo “$(date ‘+%D %T’ | toilet -f term -F border –gay)”; sleep 1; done
-
aafire Command
The amusing command aafire uses ASCII art to animate a fire effect on the terminal in a visually pleasing manner.
Install aafire Command
$ sudo apt install libaa-bin [On Debian, Ubuntu and Mint] $ sudo yum install aalib [On RHEL/CentOS/Fedora and Rocky/AlmaLinux] $ sudo emerge -a sys-apps/aalib [On Gentoo Linux] $ sudo apk add aalib [On Alpine Linux] $ sudo pacman -S aalib [On Arch Linux] $ sudo zypper install aalib [On OpenSUSE] |
When you enter the command after installing aafire, your terminal will animate a fire.
$ aafire
-
bb Command
The bb is a straightforward ASCII art command-line demo that shows an animated ASCII image of a bouncing ball on the terminal screen.
Install bb Command
$ sudo apt install bb [On Debian, Ubuntu and Mint]
$ sudo yum install bb [On RHEL/CentOS/Fedora and Rocky/AlmaLinux] $ sudo emerge -a sys-apps/bb [On Gentoo Linux] $ sudo apk add bb [On Alpine Linux] $ sudo pacman -S bb [On Arch Linux] $ sudo zypper install bb [On OpenSUSE]
|
After installing bb, you can use the command to observe a ball bounce about the terminal screen.
$ bb
-
aview Command
Images are turned into ASCII art and shown at the terminal using the aview command. The aview command has to be installed on your system in order to be used.
$ sudo apt install aview [On Debian, Ubuntu and Mint]
$ sudo yum install aview [On RHEL/CentOS/Fedora and Rocky/AlmaLinux] $ sudo emerge -a sys-apps/aview [On Gentoo Linux] $ sudo apk add aview [On Alpine Linux] $ sudo pacman -S aview [On Arch Linux] $ sudo zypper install aview [On OpenSUSE]
|
‘actress.jpg’ (guess the actress) is a picture in my current working directory that I wish to display on the terminal in ASCII format.
$ aview actress.jpg
Final Words
These are the Linux Commands to have fun in terminal. So, try them out
The Linux terminal is an effective tool. You can create and type commands while carrying out daily activities and use them to command the entire system. However, continuing to work while staring at a command line can rapidly become exhausting.
Fortunately for you, the terminal may be entertaining as well. You can experiment with commands, take in music, and even engage in game play. You can discover utilities to pass the time while bored, though expecting a lot of enjoyment from a window full of commands would be pushing it.
Don’t forget to comment which linux commands you liked the most.
You can learn about linux more deeply by clicking the link below
https://linuxiron.com/what-is-linux-a-whole-introduction/
Learn about the linux commands by clicking the links below
https://linuxiron.com/echo-command-in-linux/
https://linuxiron.com/how-to-use-nice-renice-commands-in-linux/
https://linuxiron.com/how-to-use-kill-commands-in-linux/
https://linuxiron.com/a-beginners-guide-to-htop-for-process-management/
https://linuxiron.com/15-useful-yum-commands-in-linux/
https://linuxiron.com/how-to-use-the-top-command-in-linux/
https://linuxiron.com/17-ps-command-to-monitor-linux-process-with-examples-linuxiron/
https://linuxiron.com/12-cat-commands-in-linux-with-examples/
https://linuxiron.com/archiving-and-compressing-files-and-directories-in-linux/