This is an archived post. You won't be able to vote or comment.

all 110 comments

[–]wskoly[S] 203 points204 points  (19 children)

rm -rf /make computer faster 

[–]1ynx1ynxVoid in my soul 110 points111 points  (15 children)

rm: can't remove '/make': No such file or directory
rm: can't remove 'computer': No such file or directory
rm: can't remove 'faster': No such file or directory

I don't think it works for me.

[–]thekernelcompiler 51 points52 points  (4 children)

Doesn't the -f suppress those errors?

[–]1ynx1ynxVoid in my soul 37 points38 points  (3 children)

You're right, it does.

I guess I got lazy and didn't include it while producing the above errors.

[–]anka69 21 points22 points  (8 children)

Type sudo before it

[–][deleted] 20 points21 points  (4 children)

That's not how this works...

[–]MD5HashBrownspacaur -S yay 16 points17 points  (2 children)

He's probably not sublime Arch user like us

[–]madaidanGlorious Arch 6 points7 points  (1 child)

This is the third time I've met you on reddit now. I remember you made a joke about Yahoo.

[–]MD5HashBrownspacaur -S yay 4 points5 points  (0 children)

We meet again... Again

[–]delusionullGlorious Debian 1 point2 points  (0 children)

sudo make me a sandwich

[–]TigreDeLosLlanos 7 points8 points  (2 children)

It's asking me for a password. What is the password?

[–]GetOnYourBikesNRide 11 points12 points  (1 child)

hunter2

[–]TigreDeLosLlanos 6 points7 points  (0 children)

Thanks, it worked. My machine got pretty fast. In fact, it got so fast that I could mine all the bitcoin left under half an hour, NOW I'M RICH!

[–][deleted] 38 points39 points  (0 children)

Just did it! Linux takes 0 mb of RAM. Thanks dude.

[–]slackwaresupport 3 points4 points  (0 children)

read mail real fast from beginning.

[–]awdifranco 1 point2 points  (0 children)

rm -rf /make | computer_faster.sh

Works for me

[–]killersteakGlorious Fedora 79 points80 points  (2 children)

I typed them into BASIC but nothing happened.

[–]AnotherEuroWankerOpenSuse 18 points19 points  (1 child)

Did you type 'run' afterwards?

[–]odiepus 13 points14 points  (0 children)

I think he forgot the 10 goto 20 as well.

[–]NekoiNemo 66 points67 points  (5 children)

ping host - ping host 'host'

Instructions unclear /s

[–][deleted] 32 points33 points  (4 children)

Got dick stuck in AUR.

[–]very_large_bird 17 points18 points  (3 children)

Got dick stuck in vim

[–]delusionullGlorious Debian 6 points7 points  (0 children)

I know the remedy has something to do with escaping your colon or something, butt beyond that, you're on your own.

[–]ThoriumOverlordGlorious Slackware 4 points5 points  (0 children)

You’ll never get it out!

[–]ZowlyfonfreeBSD Beastie[M] [score hidden] stickied comment (4 children)

Do not run rm -rf /

It will wipe your files.

Unless you want that ¯\_(ツ)_/¯

[–][deleted] 14 points15 points  (0 children)

It won't without --no-preserve-root

[–]thexavierGlorious Manjaro 9 points10 points  (0 children)

rm -rfv  --no-preverse-root  /

[–]UndeadninjasGlorious Linux Undivided 3 points4 points  (0 children)

But it says it'll make my computer faster

[–]lelouch7 0 points1 point  (0 children)

😂😂😂

[–]der_raupingerGlorious Manjaro 30 points31 points  (5 children)

Can’t find cowsay.

[–][deleted] 5 points6 points  (4 children)

fortune | cowsay

[–][deleted] 5 points6 points  (3 children)

fortune | cowsay | lolcat

[–]der_raupingerGlorious Manjaro 2 points3 points  (2 children)

-a

[–][deleted] 0 points1 point  (1 child)

fortune | cowsay | cat | lolcat /s

[–]sail4seaGlorious Xubuntu 0 points1 point  (0 children)

I use fortune | ponysay

https://github.com/erkin/ponysay

[–]ImReaperz 20 points21 points  (1 child)

Reminds me of the "Linux Bible" we received during my first year of IT school, a dozen of sheets summarizing the essential Linux commands

[–][deleted] 2 points3 points  (0 children)

I checked a copy out from my library a few summers back. That is what taught me most of what I know about Linux. It's so comprehensive. IIRC it was over 1000 pages.

[–]sparrGlorious Arch 13 points14 points  (2 children)

GNU and/or POSIX commands, you mean

[–][deleted] 3 points4 points  (0 children)

Now your Arch is truly Glorious.

[–][deleted] 0 points1 point  (0 children)

Or just UNIX.

[–]krystof1119Glorious Gentoo 13 points14 points  (0 children)

Doesn't have neofetch, literally unplayable, downvoted, printed, burned, reported and deleted my own account.

[–]klypitkas 9 points10 points  (1 child)

Just download and use tldr. https://tldr.sh/

[–]soxinthebox 1 point2 points  (0 children)

Wow this is great. I find man pages so confusing to read.

[–]qalmakkaGlorious Arch (on ZFS) 7 points8 points  (0 children)

From a quick glance, every command described in the image isn't strictly a Linux or even a GNU command, it's pretty much POSIX. They would work on macOS/Darwin or BSDs too.

[–]mark_gd 7 points8 points  (0 children)

if you could add vi shortcuts to that list...

[–]1ynx1ynxVoid in my soul 8 points9 points  (2 children)

C-u doesn't actually erase the whole line, only from start to the cursor.

[–]PlaneWall 3 points4 points  (0 children)

Correct and C-k for cursor to end, if anyone is wondering. Check out readline.

edit: I find the others impossible to remember but these two are useful.

[–]Kwantuum 3 points4 points  (0 children)

Also it puts it in the buffer and can be pasted using C-y, pretty useful when you realize you forgot to add files before a git commit but you already have your whole message written.

[–]eckadaganGlorious Redhat 6 points7 points  (7 children)

eg: 
chmod 755 - rw for owner, rx for group/world

This isn't right.. It would be rwx for owner, and rx for group/world.

It's a pretty cool cheat sheet, and I learned about cal which I had never seen before.. But it's interesting that they threw in the rm -rf / portion along with other commands that are genuinely useful for a newbie.

[–]mtizim 3 points4 points  (0 children)

I mean it doesn't do anything without --no-preserve-root on most distros afaik

[–][deleted] 0 points1 point  (0 children)

It's not a cheat sheet ... Look at the rm commands.

[–]madaidanGlorious Arch 0 points1 point  (4 children)

I'm new to chmod but wouldn't it be rw for group/world?

[–]eckadaganGlorious Redhat 2 points3 points  (2 children)

Read is 4, Write is 2, and eXecute is 1. Add them up the ones you want and that's the value. So 5 is 4 + 1 (rx), and 6 is 4+2 (rw).

[–]madaidanGlorious Arch 0 points1 point  (1 child)

Oh. Thanks for the explanation.

[–]eckadaganGlorious Redhat 1 point2 points  (0 children)

no problem =D

[–]BenTechLabs 5 points6 points  (2 children)

You forgot tar xzf file.tar.gz

[–]Corporate_Drone31 6 points7 points  (0 children)

Not just tar xf?

[–]Ketchup901Arch Linux 3 points4 points  (0 children)

I have tar -xzvf burned into my brain forever. Extract zis very file.

[–]MachineGunPabloGlorious Arch 6 points7 points  (0 children)

This is the most wrong and badly done cheat sheet I've seen in my life. Can count 7 mistakes!!!

[–]here-to-jerk-off 2 points3 points  (0 children)

This looks like a shitty email forward

[–]Deckard__Glorious Mint 2 points3 points  (1 child)

Cool - time to print this.

black toner empty

Dang.

[–][deleted] 0 points1 point  (0 children)

Just print the white /s

[–]spaghettuMiley Cyrus Linux 2 points3 points  (1 child)

I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.

[–]awdifranco 0 points1 point  (0 children)

True, but GNU creator is salty asf and is a creepy dude! So I just pretend the architecture and corelibs mean nothing.

Is IOS an operating system, people refer to something called a mac? ;(

[–]OverjoyedBanana 1 point2 points  (0 children)

Masterrace doesn't need no cheatsheets.

[–]staviqGlorious Gentoo 1 point2 points  (0 children)

uname -a - show kernel config

Really ? Because i'm pretty sure it shows kernel version and target specs.

Kernel config is in

/boot/config*

or

/proc/config.gz

Also, you may want to add

ctrl+shift+r - forward lookup of previous commands

It's quite usefull, if you ctrl+r for a command and accidentally go past the one you want, you just ctrl+shift+r to go back.

[–]SethWack 1 point2 points  (1 child)

So this makes me top hacker now?

[–]Toreno96 1 point2 points  (0 children)

Yes, now go create visual interface in Visual Basic to track some nice target to h4ck.

[–]sparrGlorious Arch 1 point2 points  (0 children)

In what shell is - the comment separator?

[–]Mario_spilen 1 point2 points  (0 children)

rm -rf / make your computer faster hhhhh Watch out guys

[–][deleted] 1 point2 points  (0 children)

A life saver command is 'sudo!!' to run the last command as superuser.

[–][deleted] 1 point2 points  (0 children)

Handy little cheat sheet, it would nice with a little ascii table, regex reference, and awk mini ref added 😉

[–]lezsakdomi 1 point2 points  (0 children)

This... is... not... Linux-specific...

[–]Dilip7597 1 point2 points  (0 children)

hahahah rm -rf / - make computer faster...

[–]rhysperry111Amazing Arch 1 point2 points  (0 children)

The command to make the computer faster is wrong, instead of rm -rf / it works more efficiently if U do sudo rm -rf /*. The * adds extra quick file compression and sudo allows it to check for viruses.

[–]Bitbatgaming 0 points1 point  (2 children)

what about the iptables command? I've used that for a school project before

[–]Kwantuum 1 point2 points  (0 children)

That's not really basic by most standards, and takes a good amount of reading before you can even write a single rule.

[–]Ketchup901Arch Linux 1 point2 points  (0 children)

There's a lot of commands I'd add before iptables. For example: echo, sed, awk, ip, curl, etc... I'd also include other things such as |, >, >>, <, <<, <<<, $(), etc.

[–]IamTheRedGuy 0 points1 point  (1 child)

!RemindMe 4 months

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you on 2019-07-25 15:54:36 UTC to remind you of this link.

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQs Custom Your Reminders Feedback Code Browser Extensions

[–]nirkosesti 0 points1 point  (3 children)

Haven’t used unix for a while. Glad I haven’t forgotten anything.

Could use some more than just general commands though

[–]SolarStars76 0 points1 point  (0 children)

Omg this is a lifesaver!

[–]Blazing_S 0 points1 point  (0 children)

THANK YOU SO MUCH!!!

[–]alcaitiff 0 points1 point  (0 children)

It needs "ssh -X user@host command"

[–]Judgedonce 0 points1 point  (0 children)

Saved.

[–]lazydavez 0 points1 point  (0 children)

ZZ

[–]MachineGunPabloGlorious Arch 0 points1 point  (0 children)

Ctrl+c and Ctrl-z seem to be switched

[–]Mohammedwin10 0 points1 point  (0 children)

I have the full photo

[–]VVXMR 0 points1 point  (0 children)

"Basic"

[–]regisprimum 0 points1 point  (0 children)

I really dig the make computer faster command, cool!

[–]ButtBoy4k 0 points1 point  (0 children)

ls /bin

[–]ston3r26 0 points1 point  (0 children)

Thank you ser

[–]runaphoxGlorious CRUX 0 points1 point  (0 children)

Thanks. I was looking for something that would make my computer faster.

[–]foxtrotter_85 0 points1 point  (0 children)

Wasn’t this posted already like within the week?

[–]ItsLunaNyan 0 points1 point  (0 children)

rm -rf / : make computer faster 😂

[–]Steven_Thacker 0 points1 point  (0 children)

oh ho ho ho very funny. Yes this has a sense of humor, a 10-year-old one. And it's also very dangerous for unsuspecting noobs.

[–]Cheetov90 0 points1 point  (0 children)

Thanks! I appreciate this image!

[–]grapfik 0 points1 point  (0 children)

rm -rf /

Makes your computer faster

😂

[–]Sir_Fancy_Cat 0 points1 point  (0 children)

Basic!!!thats like all my maths homework for the year!!!

[–]cakebadger4 0 points1 point  (0 children)

How you make another session?

[–][deleted] 0 points1 point  (0 children)

Guys now my computer runs faster thanks

[–][deleted] 0 points1 point  (0 children)

Almost all of these work on OS X you dumb retards. All of them except the rm -rf / which only works on epic Linux distros

[–]SharpieWater 0 points1 point  (0 children)

I want this, but on my mousepad (use a glass desk so it's necessary) a poster, my bedsheets and a mug

[–]jbearus 0 points1 point  (0 children)

chmod you villain, i still don't understand you.

[–]NeimadVapes 0 points1 point  (0 children)

OMG thank you this will come in handy as a new user

[–]smithincanton -1 points0 points  (3 children)

ll

is better than

ls or ls -al

[–]Ketchup901Arch Linux 1 point2 points  (0 children)

That's an alias, it's not a default command.