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

I use raw rm. I just double check what the name of the file is before pressing enter. I've deleted something I shouldn't have maybe once or twice in the past ten years.

When I'm about to delete something with wildcard expansion, I'll first `ls` the wildcard expansion and glance over the results to make sure I'm not deleting anything I don't want to delete.



Those are all jokes asking for trouble.

Glad you've diligently followed that rule for over 10 years but think of average users.

It's also very possible that you actually want the file back later even though you thought you didn't need it then.




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

Search: