$ head notes.txt          # first 10 lines by default
$ head -n 3 notes.txt     # first 3 lines
$ tail notes.txt          # last 10 lines
$ tail -n 20 access.log   # last 20 lines
