tail.html 1004 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <title>tail</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>tail</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. tail - print part of a file
  9. <h3>Synopsis</h3>
  10. /testbin/tail <em>file</em> <em>location</em>
  11. <h3>Description</h3>
  12. tail prints the contents of a file starting at offset
  13. <em>location</em> within it, skipping the beginning.
  14. <p>
  15. It is somewhat similar in concept to the Unix tail command, but is not
  16. compatible, which is why it lives in testbin.
  17. <h3>Requirements</h3>
  18. tail uses the following system calls:
  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/lseek.html>lseek</A>
  24. <li> <A HREF=../syscall/close.html>close</A>
  25. <li> <A HREF=../syscall/_exit.html>_exit</A>
  26. </ul>
  27. tail should work once the basic system calls are complete, but will
  28. probably be most useful as a debugging tool while working on the file
  29. system assignment.
  30. </body>
  31. </html>