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

I've been using Linux for 8 hours a day for 13 years and never done this. I use GNU's alternate syntax, which is easier:

   rm [object] [options]
Eg,

   rm /var/tmp/foo -rf
If you hit enter too early, nothing bad happens. Obviously doesn't work on HPUX, Solaris, DGUX or Ultrix, but if you're using those you have other issues.


I always put a comment at the beginning of nontrivial commands, so accidentally hitting enter prematurely doesn't do anything and so I can check it once it's written out before removing the comment and hitting enter.




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

Search: