rm 515 B

12345678910111213141516171819202122232425262728
  1. .TH RM 1
  2. .SH NAME
  3. rm \- remove files
  4. .SH SYNOPSIS
  5. .B rm
  6. [
  7. .B -fr
  8. ]
  9. .I file ...
  10. .SH DESCRIPTION
  11. .I Rm
  12. removes files or directories.
  13. A directory is removed only if it is empty.
  14. Removal of a file requires write permission in its directory,
  15. but neither read nor write permission on the file itself.
  16. The options are
  17. .TP
  18. .B -f
  19. Don't report files that can't be removed.
  20. .TP
  21. .B -r
  22. Recursively delete the
  23. entire contents of a directory
  24. and the directory itself.
  25. .SH SOURCE
  26. .B /sys/src/cmd/rm.c
  27. .SH "SEE ALSO"
  28. .IR remove (2)