DEV Community

Cover image for Ultimate Linux Cheat Sheet

Ultimate Linux Cheat Sheet

Justin Varghese on March 02, 2021

*Do you want to become ethical hacker and want to know how hackers hack in Real World. Join the telegram group and be a part of us * Telegram = h...
Collapse
 
darnahsan profile image
Ahsan Nabi Dar

rm -rf [directory_name]
Copy the contents of one file to another file:

I hope no one tries to copy through this 😅

Collapse
 
alexgeorgiev17 profile image
Alex Georgiev

Good catch! @justinnn07 you can edit this!

Collapse
 
justinnn07 profile image
Justin Varghese

Sure bro!

Thread Thread
 
alexgeorgiev17 profile image
Alex Georgiev

Wonderful, great post!

Thread Thread
 
justinnn07 profile image
Justin Varghese

Thanks bro

Collapse
 
justinnn07 profile image
Justin Varghese

It deleted the folder na bro?

Collapse
 
binmansoor11 profile image
Talha Mansoor

😂😂😂

Collapse
 
mathitejeda profile image
Mathias Tejeda

I thing I've done something wrong because i copied my entire Linux distro to hell

Collapse
 
lorenzoblog profile image
Lorenzo
Collapse
 
justinnn07 profile image
Justin Varghese

Cool, go ahead!

Collapse
 
lorenzoblog profile image
Lorenzo • Edited

Added!
If you want please leave a like (I'm trying to reach the top 10)

Thread Thread
 
justinnn07 profile image
Justin Varghese

For sure dude!

Thread Thread
 
lorenzoblog profile image
Lorenzo

I propose that I put your cheat sheet in a more evident way (I write "go check this cool cheat sheets", I put a more visible link, a photo ...) and in exchange in your article you add the liquid tag of my compilation (at the end or at the top).

Thread Thread
 
justinnn07 profile image
Justin Varghese

Yeah thanks man!

Thread Thread
 
lorenzoblog profile image
Lorenzo

I did my part, it's your turn now.

You found it in part 2 - Extra - Your cheat sheets - Linux!

Thread Thread
 
justinnn07 profile image
Justin Varghese

What should I do bro?

Thread Thread
 
lorenzoblog profile image
Lorenzo

You can add a liquid tag to my article at the top / the end of this cheat sheet with a little engagement sentence.

Link:
dev.to/devlorenzo/the-ultimate-com...

Thread Thread
 
justinnn07 profile image
Justin Varghese

Ok

Thread Thread
 
lorenzoblog profile image
Lorenzo

then?

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

rm... Always type rm [dir name] first.... then go back & add the -rf after.

Trust me. 🤣

Collapse
 
justinnn07 profile image
Justin Varghese

I k it was typing mistake aff

Collapse
 
kiransethu46 profile image
Kiran Sethumadhavan

Great Job Bro 👍

Collapse
 
justinnn07 profile image
Justin Varghese

Abe bro 😶🙄

Collapse
 
kabeer1choudary profile image
kabeer1choudary

Nice one .👍🏿

Collapse
 
justinnn07 profile image
Justin Varghese

thanks bhai

Collapse
 
kaperskyguru profile image
Solomon Eseme

Wait!!! What!!!! I just saw this, or is my eyes paining me?

rm -r [directory_name]
Recursively remove a directory without requiring confirmation:

Please don't copy with the command above.

Collapse
 
justinnn07 profile image
Justin Varghese

Its RM -rf na 😅🙄

Collapse
 
mihara17 profile image
Michelle Te Whata

Thanks for sharing

Collapse
 
caribe profile image
Vincenzo Buttazzo

lscpu is also a good way to know details about your processor.

Collapse
 
omarfar25 profile image
Omar Faruque

Isn't mkdir => make a new directory.??

Collapse
 
vidhyavarshanyjs profile image
Vidhya Varshany

Nope it creates a folder .You can use it like mkdir "".

Collapse
 
justinnn07 profile image
Justin Varghese

Yes

Collapse
 
justinnn07 profile image
Justin Varghese

Lol