Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

12 Linux Commands to Have Some Fun in the Terminal
It's FOSS ^ | 16 April 2020 | Srimanta Koley

Posted on 04/20/2020 9:51:30 AM PDT by ShadowAce

The Linux terminal is the place to get serious work done. We have plenty of useful linux command tips and tricks to help you with that.

But, did you know that you can have a lot of fun using the terminal? Well, if you did not, then you are not alone. Most Linux users see the terminal as an interface that is designed and built for system management and development tasks.

However, you will be surprised to know that there are tons of terminal based games and ASCII games that you can play in the terminal.

And, in this article, I’m going to explore some interesting, some funny and some ridiculous commands that you can type into the terminal on Linux and have fun!

Have some fun in Linux terminal with these commands

Fun Linux Commands

You’ll find a lot of these commands ridiculous or useless but some of them could actually be put to some good use.

I have added installation instructions for Ubuntu/Debian. If you are using Ubuntu-based distribution, please make sure to enable universe repository as most of these commands are not in the main repository.

If you are using Arch, Fedora, SUSE, Solus or any other non-Ubuntu distributions, please use your distribution’s package manager to install these funny Linux commands.

1. Run a train in the terminal

Let’s take a ride in the locomotive and begin our auspicious journey. And I mean it literally!

The sl command allows you to run a train in your terminal.

Sl Command

Impressive, isn’t it? But, hold on. We are not done yet! Apparently, you can fly your locomotive. Just add the option -F, Mr. Potter:

sl -F

This should make the locomotive get wings to fly off from the terminal window!

2. Add the Matrix effect to your Linux terminal

Remember the iconic sci-fi movie The Matrix? The green text falling down on the terminal became an identity of Matrix.

You can have this Matrix digital rain on your Linux box as well! You just need to install cmatrix and type it in the terminal.

Matrix Screen Command

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 terminal:

cmatrix

Press Ctrl+C to stop it, Mr. Anderson.

3. Let there be fire

Keep your fire extinguisher handy because now you are going to start a fire in your terminal!

Fire Command

To get it installed, here’s what you have to type:

sudo apt install libaa-bin

Once done start a fire in your terminal by entering:

aafire

Press Ctrl+C to stop it.

4. Fortune Cookie Command

Want to know your fortune but there are no fortune cookies around you?

Not to worry, you just need to type “fortune” on your terminal and press enter. The terminal will display a random sentence just like you usually get in fortune cookies.Fortune Command

Install it with:

sudo apt install fortune

Once done, simply type in the command below to know your fortune:

fortune

Now this is one of the commands here that you could actually use. You can use it as message of the day so that in a multi-user environment, all the users will see a random fortune cookie when they login.

You may also add it to your bashrc file so that it shows you a random message as soon as you log in to the terminal.

5. Pet lover? This is for you

Oneko is a little fun command that will change your regular cursor into a mouse and creates a curious little cat who will chase your cursor once you move it. It’s not limited to just the terminal. You can keep on working while the cat chases the cursor.

Now, that’s something fun to do specially if you have kids at home.

Oneko Command

Install Oneko with this command:

sudo apt install oneko

Run it with this command:

oneko

In case you want a dog instead of a cat, type:

oneko -dog

There are a few more types of cats available. You can get that information by using oneko –help. To stop it, use Ctrl+C.

6. Little brother is watching you

Xeyes is a tiny gui program that let the user draws a pair of ever watching eyes! It will follow your mouse cursor constantly. Run the command and see it yourself!Xeyes Command

You can install it using this command:

sudo apt install xeyes

And then use it with this:

xeyes

Press Ctrl+C to stop it.

Let the terminal speak for you

To try out this command, make sure you have turned on your speakers. eSpeak is a fun command that gives your terminal a voice. Yes, you heard that right.

Install the package first:

sudo apt install espeak

Next, you need to simply type in the command along with a text that you want to listen as audio:

espeak "Type what your computer says"

Whatever you place in the double quotes, your computer is obligated to say! It’s like echo command in Linux. But instead of printing, it speaks.

Toilet (but it has nothing to do with a washroom)

This sounds weird, yes. But, it’s just a command that transforms a text into large ASCII characters.

Toilet Command

Install toilet with this command:

sudo apt install toilet

Once done, you just need to type in:

toilet sample text you want

I don’t know why this little program is called toilet.

What does the fox cow say?

Cowsay is a command that displays a cow using ASCII characters in the terminal. And by using this command you can instruct the cow to say anything you want.

Not to be confused with any audio – it will just display a text (like you usually see in a comic book).

Cowsay Cowthink

Install cowsay:

sudo apt install cowsay

Once you have it installed, you just need to type in:

cowsay "your text"

Whatever you place in the double quotes, your cow is obligated to say! I have seen a few sysadmins using it to display the message of the day. Maybe you can do the same. You may even combine it with fortune command.

Banner Command

The banner command works just like the toilet command but it is limited to print only 10 characters at most.

Banner Command

You can install banner command like this:

sudo apt install sysvbanner

Then use it in the following way:

banner "Welcome"

Replace content in the double quotes and you shall have your desired text displayed.<

Yes command

Yes Yourtext

The “yes” command helps you to loop an automated response until you terminate the command. This command will print the exact same thing indefinitely. If you want to produce huge amounts of junk text fast, then this command will work like a charm.

You may also use it to provide a yes to a command (if it prompts for it). For example, the apt upgrade command asks for your confirmation, you can use it like this:

yes | sudo apt upgrade

You don’t need to install any package for it. Yes command is already available.

Terminate the yes command loop, simply press CTRL + C.

Get a new identity, well, sort of

Want to generate a random fake identity? I give you the command “rig”. Once you place this in the terminal, it will generate a fake identity.Rig Command

Install rig with this command:

sudo apt install rig

Then simply type this:

rig

It may be used in scripts or web-apps that displays random information but I haven’t done anything of that sort on my own.

Wrapping Up

I hope you liked this list of fun Linux commands. Which command do you like the most here? Do you know some other such amusing commands? Do share it with us in the comment section.


TOPICS: Computers/Internet
KEYWORDS: computers; computing; linux

1 posted on 04/20/2020 9:51:30 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; JosephW; Only1choice____Freedom; martin_fierro; Still Thinking; zeugma; Vinnie; SW6906; ...

Tech Ping


2 posted on 04/20/2020 9:51:56 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
Watch Star Wars in the Terminal:

telnet towel.blinkenlights.nl

3 posted on 04/20/2020 9:52:50 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Second job out of school was working on a PDP 11/70 running “Unix”.

Most memorable fortune (cookie?) was “Martina: Do you cache Czechs here?”


4 posted on 04/20/2020 9:57:10 AM PDT by Calvin Locke
[ Post Reply | Private Reply | To 2 | View Replies]

To: All

and now for something completely different...


5 posted on 04/20/2020 9:59:49 AM PDT by gibsonguy
[ Post Reply | Private Reply | To 4 | View Replies]

To: gibsonguy

Yup—I’m getting tired of everything being about the virus.


6 posted on 04/20/2020 10:00:31 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 5 | View Replies]

To: ShadowAce

Funny. Thanks for posting this.


7 posted on 04/20/2020 10:10:54 AM PDT by backwoods-engineer (Politics is the continuation of war by other means. --Clausewitz)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Thanks. Had fun with a couple of those back in the good old days.


8 posted on 04/20/2020 10:20:52 AM PDT by ken in texas
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

su -; rm -rf ./*


9 posted on 04/20/2020 10:44:57 AM PDT by john316 (JOSHUA 24:15 ...choose you this day whom ye will serve...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Kewl!


10 posted on 04/20/2020 10:58:35 AM PDT by rdb3 (Gilmour, WRIGHT, Waters, Mason)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce
$ telnet towel.blinkenlights.nl 
Trying 94.142.241.111...
Trying 2a02:898:17:8000::42...
telnet: Unable to connect to remote host: Network is unreachable
$ 

11 posted on 04/20/2020 11:00:40 AM PDT by zeugma (Stop deluding yourself that America is still a free country.)
[ Post Reply | Private Reply | To 3 | View Replies]

To: john316
su -; rm -rf ./*

DANGER, WILL ROBINSON! DANGER!

Jesus Christ: You can't impeach Him and He ain't gonna resign.



12 posted on 04/20/2020 11:26:44 AM PDT by rdb3 (Gilmour, WRIGHT, Waters, Mason)
[ Post Reply | Private Reply | To 9 | View Replies]

To: ShadowAce

Used to live in Clearwater. That is def. not the ZIP. Cool list nonetheless.


13 posted on 04/20/2020 4:14:36 PM PDT by rarestia (Repeal the 17th Amendment and ratify Article the First to give the power back to the people!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: zeugma
I saw that after I posted the command.

That's too bad. It was a great site.

14 posted on 04/21/2020 3:38:44 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 11 | View Replies]

To: ShadowAce
That's too bad. It was a great site.

I wonder if someone has the ascii file that it used.

15 posted on 04/21/2020 7:06:58 AM PDT by zeugma (Stop deluding yourself that America is still a free country.)
[ Post Reply | Private Reply | To 14 | View Replies]

To: zeugma
You can try this site, though it's not quite the same, as you still need a browser.
16 posted on 04/21/2020 7:41:35 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 15 | View Replies]

To: ShadowAce

Bookmark


17 posted on 04/28/2020 7:03:47 PM PDT by 2111USMC (Aim Small Miss Small)
[ Post Reply | Private Reply | To 1 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson