| RM(1) | General Commands Manual | RM(1) | 
rm — remove files
    and directories
| rm | [ -dfirRv] [file...] | 
The rm utility removes each given
    file, by default directories aren't removed.
As required by POSIX, rm explicitly checks
    if a file is writable, when not and -f wasn't
    passed, the user is prompted before removal. Care should be taken when using
    other programs as unlink(2) only fails when the
    containing directory isn't writable, rather than the file itself.
-d-f-i.-i-r,
    -R-vThe rm utility exits 0 on success,
    and >0 if an error occurs.
rm should be compliant with the IEEE Std
    1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
| October 31, 2024 | Linux |