Such a small difference can make such a big difference.
sudo rm -R ./;
sudo rm -R /;

  • 2
  • 1
    I actually use the top one periodically. I always check it like 10 times just in case
  • 0
    I use the top one sometimes too for clearing cache and such. Backups are important! lol.
  • 1
    Newer systems actually warn you of you really want to fuck shit up if you try the second one. My Debian at least does
  • 8
    To be safe, instead of ./, just write .
  • 4
    @j4cobgarby yeah...
    Why use the / when it makes no difference but increases chances of human error
  • 3
    @j4cobgarby Or better yet, don't remove your working directory. Just

    $ cd ..
    $ rm -r dir_name
  • 1
    @kenogo you'll still need the -f flag, most of the time
  • 0
    Even then you still need --no-preserve-root
Your Job Suck?
Get a Better Job
Add Comment