3 ms·
To be fair I think modern versions of your favorite shell warn you when trying to run it, asking for confirmation even with the -f. (For that one guy: it delet
by iLoveOncall 4y ago
To be fair I think modern versions of your favorite shell warn you when trying to run it, asking for confirmation even with the -f.
(For that one guy: it deletes every file on your computer)
- jwilk 4y agoSUSv4 requires that "if an operand resolves to the root directory, rm shall write a diagnostic message to standard error and do nothing more with such operands": https://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/r... But last time I checked, busybox's rm happily removed everything. :-/