#compsci 

## head
The "head" command lets you see the first n lines of a file:

$ head -n 15 /var/log/syslog

## tail
The "tail" command lets you see the last n lines of a file:

$ tail -n 15 /var/log/syslog

You can also use the -f option to make tail follow the file as it grows.