Understanding the Unix ‘head’ Command

commandline session head is a program on Unix and Unix-like operating systems used to display the beginning of a text file or piped data. $sudo head /var/log/syslog Jan 5 20:10:05 debian syslogd 1.5.0#6.1: restart. Jan 5 20:10:05 debian anacron[1056]: Job `cron.daily’ terminated Jan 5 20:10:05 debian anacron[1056]: Normal exit (1 job run) Jan 5 20:12:14 …