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

Not really, on my keyboard at least / is directly next to . and you could feasibly be clearing out a directory or something with rm -rf .


It's my habit to never use the -f flag until I get those annoying confirmation messages. I <CTL>-c to cancel that command, then scroll up and add the flag to run again. I think this is a good habit? Anyway, the worst thing I've done along these lines was resetting a dev DB that had seen considerable un-backed-up configuration work. I couldn't blame rm for that.




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

Search: