Question: 5. [5] Write a shell command to store the total number of lines in a file called foo into a shell variable count. 6. [5]

5. [5] Write a shell command to store the total number of lines in a file called foo into a shell variable count. 6. [5] Write one shell pipeline to merge the content of two files(filel, file2), sort their contents and display all the lines which start with the word "Chapter" on the console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
