3 ms·
The probability of this discussion thread ultimately containing at least one `rm -rf` must be close to 1.
by RyanMcGreal 16y ago
The probability of this discussion thread ultimately containing at least one `rm -rf` must be close to 1.
- tseabrooks 16y agoI'll bite: In my undergrad Operating Systems we used Minix and were expected to rewrite various parts of the system ourselves as our class projects. We were all given our own systems in a smallish lab used only for this class so we didn't need to save anything. About halfway through the semester one of my classmates mistyped a cd command, didn't realize it failed, and quickly did an rm -rf. This resulted in all their work for the semester being lost. Because we had all been given our own machines nothing had been saved. After this the rest of the class started backing up our work daily.
- die_sekte 16y agoAlso, configuring the firewall to interrupt your ssh session.
- mhansen 16y agorsync --delete is the new rm -rf (it's bitten me more than once)
- mootothemax 16y agoI'm not sure that I'd trust any sysadmin who hasn't had at least one 'rm -rf'-related cockup at some point in their life - you certainly learn some useful lessons along the way ;)
- legooolas 16y agoPretty much as bad was that a colleague of mine once ran: rpm -e * ..which had much the same effect (and no confirmations required!)