3 ms·
`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 delet
by prewett 17y 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)
- metamemetics 17y agoI 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.