Hacker News new | ask | show | jobs
by prewett 5884 days ago
`rm -rf` vs `rm -ri` could have that sort of impact. Or `sleep 1; shutdown -r now` vs `sleep 1h; shutdown -r now` to reboot the production server.

I once deleted all my source code instead of backing it up to my floppy by doing "del ." while command.com was in wrong drive. (Should have done "del a:\."; two letters cost me a night of running an undelete program)

1 comments

I like my Bash tools as much as the next HNer, but always think it's faster, safer, and more accurate to use a windowed gui for moving or deleting important files and folders.