4 ms·
Too bad he wasn't running Illuminos (OpenSolaris) based servers (or even some Solaris versions) that would have just flat out refused to run rm -rf /
by redbeard0x0a 11y ago
Too bad he wasn't running Illuminos (OpenSolaris) based servers (or even some Solaris versions) that would have just flat out refused to run rm -rf /
- creshal 11y agoRecent-ish versions of GNU rm do the same. However, it only protects against `rm -rf /`, not `rm -rf /*`, as the latter is expanded by the shell.
- neerdowell 11y agoIt's required in POSIX 1003.1-2013 that rm refuse to remove the root directory[0]. [0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm...
- deleted 11y ago[deleted]
- 4ad 11y agoIt's illumos, not Illuminos.