Today's article is about the rm command...

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
12,656
Reaction score
11,606
Credits
104,294
... Maybe?

I mean, we use the rm command throughout and the objective is to remove files by their extension type. But, we do something even more important. We use the wildcard (asterisk). Using a wildcard is a great start at learning to do pattern matching and is a simple concept to grasp.


Well, I think it's a simple concept. This could be my familiarity with the subject, but I don't recall it being painful to learn and use.
 


.....so long as you don't forget yourself and run

Code:
rm -rf /*

rofl-small.gif



Mike. :p
 
.....so long as you don't forget yourself and run

Code:
rm -rf /*

I dunno... I've heard that command fixes everything!

(For the new folks, it does not. No, it does not.)
 
Just had a read of this.

I am a complete novice in the Linux world, so this is very helpful! Thank you.

You are right, a very easy concept to understand but dare I say execute haha, I will be careful with this one for sure.
 
I am a complete novice in the Linux world, so this is very helpful! Thank you.

You're most welcome. I write an article every other day, or at least publish an article every other day. They're not always great, but they get published.

Today's article is already published, but I've not yet shared it here. It's just a meta article, but it marks the 500th article published on the site.

I'll share it in a few minutes, in the appropriate sub-forum.
 
.....so long as you don't forget yourself and run

Code:
rm -rf /*

rofl-small.gif



Mike. :p
  • i think its pretty much dangerous....
  • my linux distro was suddenly useless due to executing command
  • i will add "i" for all
Code:
rm -rfi
 

Members online


Top