r/linuxquestions • u/mibcadet • Sep 01 '21
If you were LINUX command, which one you would be?
If you were LINUX command, which one would you be?
Include arguments in your answer.
Me: ps aux
As I watch if others are working
101
Sep 01 '21
man
I am pretty good at explaining things
69
→ More replies (2)15
92
64
u/FruscianteDebutante Sep 01 '21
whoami
Because existential crisis
→ More replies (1)4
u/ergotofwhy Sep 01 '21
For instant existential crisis, I prefer to put a label on my computer that says "YOU"
59
108
45
36
70
Sep 01 '21
:(){ :|:& };:
→ More replies (4)48
u/FryBoyter Sep 01 '21
This is a so-called fork bomb that may still work on current systems and thus possibly bring the system to a standstill. Just as a hint.
35
u/WikiSummarizerBot Sep 01 '21
In computing, a fork bomb (also called rabbit virus or wabbit) is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, slowing down or crashing the system due to resource starvation.
[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5
→ More replies (2)→ More replies (3)14
32
Sep 01 '21
htop - The system is doing nothing but I sure can't help but pay attention to all the work it's not doing while imagining what it should be doing.
25
u/Barafu Sep 01 '21
There once was a command, specific to Gentoo. I do not know if it is still in the repos, but...
sex
15
→ More replies (5)5
20
17
u/jwalkernyc Sep 01 '21
Sudo su
10
u/FakedKetchup Sep 01 '21 edited Jun 03 '24
fear dinosaurs selective snails spectacular touch rotten exultant worm school
This post was mass deleted and anonymized with Redact
→ More replies (1)9
14
13
12
11
u/MediumRarePorkChop Sep 01 '21
find because I’m always looking for things
My wife would be locate because she already knows where it is
11
30
u/MyNameIsRichardCS54 Sep 01 '21
dd
Completely safe if used correctly, but push the wrong button and oh boy...
31
10
8
7
5
5
4
4
4
19
u/Zambito1 Sep 01 '21
I realize this is a joke, but Linux doesn't have commands. None at all. Not even a shell (/bin/sh). Almost every command mentioned here is a part of, or targets GNU (the one exception I've seen is systemctl, which is currently specific to Linux and not a part of GNU).
Linux has syscalls. That is the only way to interface with Linux. See man 2 syscalls for more details.
38
10
4
Sep 01 '21
So if you were a system call, which one would you be?
26
4
2
3
3
5
2
2
2
2
2
2
2
2
u/laabl Sep 01 '21
less +F
3
u/nojox Sep 01 '21
Which is it: You like to keep 'em coming, you're much more than you appear, you have an endless supply of
pickupscrollup lines, you are paranoid, you work for the NSA watching everything, ...→ More replies (2)
2
2
2
2
2
u/Consistent_Mirror Sep 01 '21
xkillbecause my system slows down I want to destroy everything I touch
2
2
u/Purple-Turnip-2879 Sep 01 '21
AWK
because it's so useful for formatting stuff
what I used to do in C I now do with AWK
but the old days were on a DOS & Windows systems and you had to use C to get things done
😼
2
2
2
2
2
2
2
2
2
2
u/onefish2 Sep 02 '21
Back in 2001 when Linux started to gain traction on x86 server hardware I was very involved with it when I worked at Compaq. I talk a lot and I am very verbose by nature.
My friend and I always liked to read the man pages and check out the flags for various commands. My friend came across the -vv command for very verbose output. He said that if I was Linux command I would be Steve -vv with the -vv on by default.
2
2
3
2
1
u/FryBoyter Sep 01 '21 edited Sep 01 '21
rm -rf idiots
Edit: Since the first downvotes are already arriving, by idiots I mean idiots in general and no one in particular.
11
1
1
1
1
1
1
1
1
1
1
1
1
1
u/austinmakesjazzmusic Sep 01 '21
systemctl status <insert service>
Because even if its working, I’m still checking to make sure its working.
1
1
1
1
Sep 01 '21
The MS fix, only had to use it a few times in Linux.
su reboot
It does wonders to fork bombs and other trouble I’ve gotten into. It is a polite command wait to take a few cpu cycles before running.
1
1
1
1
1
1
1
1
u/GreenEggPage Sep 01 '21
sudo rm -rf /*
I can screw up anything for you if I'm in the wrong place.
(I'm sure my initial version of the command will look terrible and I'll have to edit this to get the formatting correct)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/CNR_07 Gentoo X openSuSE Tumbleweed Sep 01 '21
cat /dev/urandom
Because i like talking a lot of stuff that doesn't make sense at all.
1
1
u/CrudBert Sep 02 '21
while
I'm always looking for something fun to do while I'm waiting on something else to finish.
1
u/Jemoka Sep 02 '21
clj ... ... I guess its not part of GNU Coreutils but neither is neofetch. I guess we have to have some Clojurist representation...
1
u/Useless_Pony Sep 02 '21 edited Sep 02 '21
dd if=/dev/random of=/dev/null status=progress bs=48K
I seem to be doing a lot, but i'm just putting a lot of simi-random information into the void.
1
1
1
u/ja_02 Sep 02 '21
awk or sed are good but if u know this command or set of commands cacaview img.png
1
1
1
1
1
u/mexus37 Sep 02 '21
I heard someone say every command can be replaced with just ls and cat. So I guess I’ll be cat
1
1
1
1
1
1
1
1
1
1
1
u/Gamer115x Sep 02 '21
Touch
I end up making a lot of things, rarely do much with most of them, all left in monotonous amounts of subfolders.
1
1
1
1
1
1
1
1
1
1
1
u/wintersnake666 Sep 02 '21
Nohup Cuz I never know when to stop..
nohup is a POSIX command which means "no hang up". Its purpose is to execute a command such that it ignores the HUP (hangup) signal and therefore does not stop when the user logs out. Output that would normally go to the terminal goes to a file called nohup.
1
1
1
1
1
Sep 14 '21
First of all, I welcome change of pace from serious questions. Other than that, I would probably be grep
0
51
1
148
u/AiwendilH Sep 01 '21
false - do nothing, unsuccessfully