Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

rm . * (extra space) has gotten me a few times. I bet I'm not the only one either.


I once wanted to delete backup files left by emacs in the current directory. Instead of

  rm -rf *~
I typed

  rm -rf * ~
At least I learnt to use -rf more carefully. Way more carefully.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: