r/linuxquestions • • 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

131 Upvotes

246 comments sorted by

101

u/[deleted] Sep 01 '21

man

I am pretty good at explaining things

69

u/setibeings Sep 01 '21

I think you mean mansplaining.

39

u/PageFault Debian Sep 01 '21

Ok. Now I have to add a new alias to ~/.bashrc.

alias mansplain=man
→ More replies (2)

92

u/[deleted] Sep 01 '21
systemctl hibernate

64

u/FruscianteDebutante Sep 01 '21

whoami

Because existential crisis

4

u/ergotofwhy Sep 01 '21

For instant existential crisis, I prefer to put a label on my computer that says "YOU"

→ More replies (1)

108

u/Master-Gear Sep 01 '21

mv

Because: I like to mv it, mv it, I like to? mv it

45

u/[deleted] Sep 01 '21

less. Because less is more, more or less...

36

u/BrexitBlaze Sep 01 '21
neofetch

32

u/baadditor Sep 01 '21

You flex a lot, then!

15

u/Windows_XP2 Sep 01 '21

Let me guess, Arch user?

→ More replies (1)

70

u/[deleted] Sep 01 '21

:(){ :|:& };:

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

Fork bomb

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)

14

u/brimston3- Sep 01 '21

Still works on any system with process ulimit unset.

→ More replies (1)
→ More replies (3)
→ More replies (4)

32

u/[deleted] 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

u/7orglu8 Sep 01 '21

You can always have :Sex in Vim.

9

u/sciwins Sep 01 '21 edited Sep 01 '21

And they say that computer nerds don't have sex.

5

u/[deleted] Sep 01 '21

You can get it from the AUR. It has the same functions you described.

→ More replies (5)

20

u/mandiblesarecute Sep 01 '21

clear makes it all just go away

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)

14

u/Vladimir_Chrootin Sep 01 '21

chroot

7

u/nojox Sep 01 '21

The Trump Presidency must have delighted you ;)

→ More replies (1)

12

u/isason Sep 01 '21

Yes, i like to agree with people

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

30

u/MyNameIsRichardCS54 Sep 01 '21

dd

Completely safe if used correctly, but push the wrong button and oh boy...

31

u/[deleted] Sep 01 '21

This is a bit r/iamverybadass :)

10

u/BubblyMango Sep 01 '21

vi

used to be popular, but slowly dying

8

u/wojc4 Sep 01 '21

Also a cat in a bin.

→ More replies (1)

5

u/wojc4 Sep 01 '21

Pacman

5

u/nojox Sep 01 '21

netstat because anxious all the time

4

u/Jekyllz Sep 01 '21

Or more modern

ss

4

u/[deleted] Sep 01 '21

sudo rm -rf /*

4

u/Jekyllz Sep 01 '21

w becuase I'm nosey whos online

4

u/[deleted] Sep 01 '21

vim

The way I think is confusing to others, but straightforward and fast to me

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

u/[deleted] Sep 01 '21

You must be fun at parties.

10

u/fideasu Sep 01 '21

Richard, is that you?

4

u/[deleted] Sep 01 '21

So if you were a system call, which one would you be?

26

u/Zambito1 Sep 01 '21

pipe(2) I simply regurgitate information

12

u/spinstartshere Sep 01 '21

Guy was just playing the long game and had this up his sleeve all along

4

u/juacq97 Sep 01 '21

You forgot to interject for a moment

2

u/[deleted] Sep 02 '21

Linux Alpha right here, accept no imitations!

3

u/[deleted] Sep 01 '21

lolcat

3

u/TomoghnoSen Sep 01 '21

I would be Pacman bro

5

u/isRaZZe Sep 01 '21

Tail... Because.... You know bro

3

u/DeviatedForm Sep 01 '21

You only remember the last 100 sentences you said? Same bro.

2

u/Thysce Sep 01 '21

grep Because I mostly find what I am looking for quite quickly

2

u/MohammedThaier Sep 01 '21

cd, so I'd loose fat

2

u/Pristine_Key_6419 Sep 01 '21 edited Sep 01 '21

apt moo

when things need some sMOOthing out

2

u/[deleted] Sep 01 '21

ls

2

u/ManInBlack829 Sep 01 '21

cowsay

2

u/AdamAurich Sep 01 '21

cowsay -f sodomized

2

u/hemish04082005 Sep 01 '21

Bash or zsh or sh: without me people can't do a thing completely

2

u/brimston3- Sep 01 '21

Some days I'm busybox, other days I'm cat /dev/mem.

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 pickup scrollup lines, you are paranoid, you work for the NSA watching everything, ...

→ More replies (2)

2

u/[deleted] Sep 01 '21

zypper

2

u/[deleted] Sep 01 '21

cat /dev/urandom

2

u/abionic Sep 01 '21

bpftrace

Analyze you without any adverse impact on your state.

2

u/Consistent_Mirror Sep 01 '21
xkill

because my system slows down I want to destroy everything I touch

2

u/hipleee Sep 01 '21

rm -rf / just delete all of them man, Im tired of being tired

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

u/PiratesOfTheArctic Sep 01 '21

sudo shutdown +1 "Bye bye world"

2

u/[deleted] Sep 01 '21

touch

2

u/ergotofwhy Sep 01 '21

shutdown now

2

u/[deleted] Sep 01 '21

Sudo apt update

2

u/[deleted] Sep 01 '21

history -c

i forgor

2

u/prashantabides Sep 01 '21

yes >> /dev/null

2

u/titorelliK Sep 01 '21

cat

Because I love cats

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

u/RetroRarity Sep 01 '21

dump, because I... Well you know.

3

u/microlate Sep 01 '21

rm -rf /*

2

u/[deleted] Sep 01 '21

Sudo rm -rf /*

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

u/torgefaehrlich Sep 01 '21

But recursive? As in all ancestors or all offspring?

1

u/[deleted] Sep 01 '21

cat

1

u/kcl97 Sep 01 '21

sudo shutdown -r now

Feel like this deserves a spot here.

1

u/nullmove Sep 01 '21

Perl.

I also don't understand my past life choices.

1

u/Taykeshi Sep 01 '21

Sudo tlp start.

I feel I could use some of that.

1

u/AndrewStephenGames Sep 01 '21

cat, so I can do one thing and then stop existing

1

u/[deleted] Sep 01 '21

rm -rf

1

u/Krisselak Sep 01 '21

sudo shutdown -r. I like to start over.

1

u/[deleted] Sep 01 '21

rm -rf *

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

u/S0ulCub3 Sep 01 '21

:(){ :|:& };:

1

u/[deleted] 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

u/koera Sep 01 '21

Watch, because I keep doing the same thing looking for a different outcome

1

u/[deleted] Sep 01 '21

wall

1

u/[deleted] Sep 01 '21

Userdel- coz deleting toxic users in my life :)

1

u/abramqs Sep 01 '21

Fortune | Cowsay

1

u/[deleted] Sep 01 '21

grep -i

because I am case-insensitive

1

u/[deleted] Sep 01 '21

Browser mode: Ctrl + F

Linux mode: grep -n

Also yum because I like food

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

u/blackmine57 Sep 01 '21

Help. I need your help

1

u/EedSpiny Sep 01 '21

man, because people ask me how to do stuff.

1

u/[deleted] Sep 01 '21

sl: useless, annoying but charming

1

u/Soakitincider Sep 01 '21

cat /dev/urandom >> life.txt

1

u/Eazyy_l Sep 01 '21

sudo rm rf /

make everything in existance go poof

1

u/omnipot Sep 01 '21

sudo init 0; because I'd rather be sleeping

1

u/sorcery0358 Sep 01 '21 edited Sep 01 '21

sudo rm -rf /

i am pretty good at destroying my life

1

u/Bulkybear2 Sep 01 '21

While true, echo $RANDOM

1

u/Shoddy-Jelly Sep 01 '21

nano

smol boi

1

u/[deleted] Sep 01 '21

lolcat

1

u/malsell Sep 01 '21

rm -rf /

1

u/[deleted] Sep 01 '21

id be grub-install because people always forget me

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

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

u/gcavalcante8808 Sep 02 '21

Bat , because I like to know what I show

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

u/Se7enLC Sep 02 '21

tac It's cat, but backwards.

1

u/zoharel Sep 02 '21

I don't know, probably vax.

1

u/saifulislamrokon Sep 02 '21

sudo . I want to be this. 🤣

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

u/arpegius55555 Sep 02 '21

date

Because nowadays I never go out on one

1

u/[deleted] Sep 02 '21

awk

well that was awkward... har har I'm here all week

1

u/Darkwing_909 Sep 02 '21

Sed because I tend to be picky with my words

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

u/[deleted] Sep 02 '21

Cat cause why not ?

1

u/[deleted] Sep 02 '21

alias

1

u/grimyhr Sep 02 '21

sudo rm -rf /* Just because its fun

1

u/[deleted] Sep 02 '21

EDIT: no wait... whoami until i have chosen a better one.

1

u/Independent_Arm_608 Sep 02 '21

ls lurks but never do anything.

1

u/W9CVO Sep 02 '21

rm -rf Concussions are a bitch

1

u/jwalkernyc Sep 02 '21

Cool thanks!😁

1

u/Ricks3rSt1cks Sep 02 '21

Rm -rf Soul

1

u/AddendumImmediate134 Sep 02 '21

History, because I can't remember shit

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

u/Xx_heretic420_xX Sep 02 '21

GDB. I fix the bugs.

1

u/Greninja9559 Sep 02 '21

Man - mostly have the information and sometimes not.

1

u/[deleted] Sep 03 '21

yes command.

1

u/CStfford14 Sep 10 '21

caffeinate as I usually can't sleep.

1

u/[deleted] Sep 14 '21

First of all, I welcome change of pace from serious questions. Other than that, I would probably be grep

0

u/[deleted] Sep 01 '21

[deleted]

2

u/whizzythorne Sep 02 '21

self-destructive

→ More replies (1)

51

u/[deleted] Sep 01 '21

[removed] — view removed comment

16

u/setibeings Sep 01 '21

I like to install that one to "train" new users.

2

u/BubblyMango Sep 01 '21

was that an asdf reference?

→ More replies (1)

1

u/[deleted] Sep 01 '21

[removed] — view removed comment

1

u/Useless_Pony Sep 02 '21

same bro, but i grab from /dev/random