Practice Drill
Goal: Complete this drill from memory in the terminal below.
From /var/log/syslog: show only the first 5 lines, then only the last 5 lines, then count the total number of lines. Write the line count to /tmp/linecount.txt.
Tip: echo $(wc -l < file) writes just the number without the filename.