Question: Step 2 Again using pico, you should have created a file called logs that contained the names requests.txt , deliveries.txt , errors.txt , users.txt ,
Step Again using pico, you should have created a file called logs that contained the names
requests.txt deliveries.txt errors.txt users.txt and links.txt Each should have been placed on their
own line. The following listing provides an example of the logs file:
requests.txt
deliveries.txt
errors.txt
users.txt
links.txt
Step Using wc the switch, and the cat command, you should have counted each file.
The following listing provides the command for the bash shell:
wc 'cat logs
Figure provides the output for a sample run of the command.Step I Create five text files filled with random lines of text. Name these files requests.txt
deliveries.txt errors.txt users.txt and links.txt
Step Create a text file with the names of the fives text files, one name on each line.
Step Using the syntax, create a command that counts each of the text files.
Step Run your command. Verify that it correctly counts the files.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
