Question: For the final task in the lab, we are going to use the head and tail commands to pull out a specific set of lines

For the final task in the lab, we are going to use the head and tail commands to pull out a specific set of lines from the /etc/passwd file. The head and tail commands allow us to look at the first N or last N lines of a file, but what if we want to look at lines from the middle of the file? We can use head and tail together to do this by combining the two commands with a pipe. Let's do so to print out lines 21 22, and 23 from /etc/passwd, Take a screenshot of the output of your pipe commands, showing the correct output. Be sure to include the actual command in the screenshot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
