Linux: rm /*


➜  cache git:(master) ✗ rm /*
rm: cannot remove `/bin': Is a directory
rm: cannot remove `/boot': Is a directory
rm: cannot remove `/dev': Is a directory
rm: cannot remove `/etc': Is a directory
rm: cannot remove `/home': Is a directory
rm: cannot remove `/lib': Is a directory
rm: cannot remove `/lib64': Is a directory
rm: cannot remove `/lost+found': Is a directory
rm: cannot remove `/media': Is a directory
rm: cannot remove `/mnt': Is a directory
rm: cannot remove `/opt': Is a directory
rm: cannot remove `/proc': Is a directory
rm: cannot remove `/root': Is a directory
rm: cannot remove `/run': Is a directory
rm: cannot remove `/sbin': Is a directory
rm: cannot remove `/srv': Is a directory
rm: cannot remove `/sys': Is a directory
rm: cannot remove `/tmp': Is a directory
rm: cannot remove `/usr': Is a directory
rm: cannot remove `/var': Is a directory

Stupid missing dot. Luckily I didn’t specify the option -rf. If I was root and put the dot I would have f****d myself. No further comments.

2 Comments

  1. Well did a similar stupid mistake, now the system is as good as fuck.

    Let’s do a recovery night! ^^

  2. slopjong

    David would say “test on a test server that tests a test server to test a server” or something similar …

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>