DEV Community

Cover image for Must Try Linux Commands💣
DevOps Descent
DevOps Descent

Posted on • Updated on

Must Try Linux Commands💣

sl: Run a train in your terminal

Here’s how to install the command:
sudo apt install sl

Then simply type (to have something similar vibes like Harry Potter):🪄
sl -F

Image description

In case you are a muggle, then stay boring:🙆🏼‍♀️
sl

Image description

cmatrix: Add the Matrix effect to your Linux terminal

Installing cmatrix on Debian/Ubuntu Linux:
sudo apt install cmatrix

Then you can run the command that displays a full of cascading green characters resembling the falling code from the “Matrix” movie.
cmatrix``

Image description

aafire: Let there be fire🔥

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

To burn your terminal, install:
sudo apt install libaa-bin

Image description

fortune: Want to know your fortune, but you have just terminal, let's do it.🥠

Install:
sudo apt install fortune

Then simply type:
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 log in.
(TIP: Use it in the .bashrc)🥠

Image description

oneko: Pet lover? But can't adopt one? I have got you covered

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.

Adopt the pet by this command:
sudo apt install oneko

Now play:
oneko

Image description

In case you are a dog🦮 lover like most of us, then:
oneko -dog

Image description

xeyes: Someone is watching you (Don't use at night)
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!

Hire a watchman:👀

sudo apt install x11-apps

Now have an admirer for your work:👀
xeyes

Image description

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

sudo apt install espeak

Now have a lover, motivator or anyone you want:

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.
Sounds gross,but, trust me it transforms a text into large ASCII characters.

Install toilet:🫢

sudo apt install toilet

Use toilet:🫢

toilet "sample text you want"

Image description

cowsay:🐄 What does the cow say?

Install:
sudo apt install cowsay

Just type:
cowsay "your text"

Image description

Yes:🧑🏻‍💻 Yes, Terminal!

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.

Install:
yes | sudo apt upgrade

Image description

To terminate the yes command loop, simply press CTRL + C.

rig: 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.

Install:
sudo apt install rig

Use:

rig

Image description

Asciiquarium 🐟 (An aquarium for your terminal!)

Asciiquarium can generate a beautiful colored aquarium right inside your terminal.

On Ubuntu, you can download the source package and make yourself. Or use a PPA:

sudo add-apt-repository ppa:ytvwld/asciiquarium
sudo apt update
sudo apt install asciiquarium

On Fedora and Arch Linux based system, you can install Asciiquarium through respective package managers.

sudo dnf install asciiquarium
OR
sudo pacman -Syu asciiquarium

Then simply run:
asciiquarium

Image description

Linux Tweaks:😏 It is time for you to have some one-liner Linux tweaks to have some fun in the terminal.

world
bash: world: not found

``touch girls\ hair**

touch: cannot touch girls hair**': Permission denied`

$ [ whereis my brain?

: [: missing ]

My favourite:😹

man: why did you get a divorce?
man:: Too many arguments.

How many have you checked?

Support if you found this helpful😉

No Money 🙅🏻‍♀️ just Subscribe

Youtube: https://shorturl.at/lVi2G
Do check: https://linktr.ee/DevOps_Descent

Top comments (0)