Question: Navigate to the folder Final / FilesForScript in your home directory. There is a file located there named numInstances . txt . Create a script

Navigate to the folder Final/FilesForScript in your home directory. There is a file located there named numInstances.txt.
Create a script(in the same directory) which, when run, will print out the number of lines in the file(NumInstances.txt) that contain each of the following words respectively ; cat, dog, mouse, bird and tiger.
Which word occurs on the highest number of lines?
Question 15Answer
a.
cat
b.
mouse
c.
tiger
d.
bird
e.
dog

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!