rm.html 986 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <html>
  2. <head>
  3. <title>rm</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>rm</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. rm - remove (unlink) files
  9. <h3>Synopsis</h3>
  10. /bin/rm <em>file...</em>
  11. <h3>Description</h3>
  12. rm deletes the files specified on its command line. (If one of the
  13. filenames specified is one of several hard links to the same file, the
  14. actual file is only erased when all links are removed.)
  15. <p>
  16. Using rm on directories produces an error. Use
  17. <A HREF=rmdir.html>rmdir</A> to remove
  18. directories.
  19. <h3>Requirements</h3>
  20. rm uses the following system calls:
  21. <ul>
  22. <li> <A HREF=../syscall/remove.html>remove</A>
  23. <li> <A HREF=../syscall/write.html>write</A>
  24. <li> <A HREF=../syscall/_exit.html>_exit</A>
  25. </ul>
  26. rm should function properly once the file system assignment is
  27. completed.
  28. <h3>Restrictions</h3>
  29. <A HREF=../dev/emu.html>emufs</A> does not support rm. (This is
  30. intentional.)
  31. <h3>See Also</h3>
  32. <A HREF=rmdir.html>rmdir</A>
  33. </body>
  34. </html>