DEV Community

Discussion on: Basic UNIX commands

Collapse
 
carywreams profile image
Cary Reams

save yourself.
unlearn rmdir.
now.

Collapse
 
19h47 profile image
Jérémy Levron • Edited

There's something wrong with rmdir?

Collapse
 
carywreams profile image
Cary Reams

nope, nothing at all

my bad

I saw "rmdir" and read "rm -rf"

Thread Thread
 
prhomhyse profile image
Promise Akpan

rm -rf does incredible and irreparable damage except you have backups handy.

Thread Thread
 
andrejnaumovski profile image
Andrej Naumovski • Edited

You can't restore a backup if you rm -rf /.

Thread Thread
 
prhomhyse profile image
Promise Akpan

Exactly. You just wiped out the entire system..
Well except if you have an external backup of some sort. 😏