3 ms·
The latest POSIX standard actually requires this behavior: If […] an operand resolves to the root directory, rm shall write a diagnostic message to standard er
by jwilk 9y ago
The latest POSIX standard actually requires this behavior:
If […] an operand resolves to the root directory, rm shall write a diagnostic message to standard error and do nothing more with such operands.
Source: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm...