Search code examples
shellcsh

How can I view only the first n lines of the file?


I tried head +10 and it didn't work.


Solution

  • Based on its man page:

    head -n 10 filename