cp.html 839 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <html>
  2. <head>
  3. <title>cp</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>cp</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. cp - copy files
  9. <h3>Synopsis</h3>
  10. /bin/cp <em>oldfile</em> <em>newfile</em>
  11. <h3>Description</h3>
  12. cp copies the file <em>oldfile</em> to the file <em>newfile</em>,
  13. overwriting <em>newfile</em> if it already exists.
  14. <p>
  15. cp supports no options.
  16. <p>
  17. <h3>Requirements</h3>
  18. cp uses the following syscalls:
  19. <ul>
  20. <li><A HREF=../syscall/open.html>open</A>
  21. <li><A HREF=../syscall/read.html>read</A>
  22. <li><A HREF=../syscall/write.html>write</A>
  23. <li><A HREF=../syscall/close.html>close</A>
  24. <li><A HREF=../syscall/_exit.html>_exit</A>
  25. </ul>
  26. cp should function properly once the basic system calls assignment is
  27. completed.
  28. <h3>See Also</h3>
  29. <A HREF=ln.html>ln</A>, <A HREF=mv.html>mv<A>
  30. </body>
  31. </html>