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 For Community

Sure bro!

Thread Thread
 
alexgeorgiev17 profile image
Alex Georgiev

Wonderful, great post!

Thread Thread
 
justinnn07 profile image
Justin Varghese For Community

Thanks bro

Collapse
 
justinnn07 profile image
Justin Varghese For Community

It deleted the folder na bro?

Collapse
 
lorenzoblog profile image
Lorenzo
Collapse
 
justinnn07 profile image
Justin Varghese For Community

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 Community

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 For Community

Yeah thanks man!

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 For Community

I k it was typing mistake aff

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 For Community

Its RM -rf na 😅🙄

Collapse
 
kiransethu46 profile image
Kiran Sethumadhavan For Community

Great Job Bro 👍

Collapse
 
justinnn07 profile image
Justin Varghese For Community

Abe bro 😶🙄

Collapse
 
kabeer1choudary profile image
kabeer1choudary

Nice one .👍🏿

Collapse
 
justinnn07 profile image
Justin Varghese For Community

thanks bhai

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 For Community

Yes

Collapse
 
justinnn07 profile image
Justin Varghese For Community

Lol