Question: A Shell Script accepts a file name as a command argument, the script should search for all the instances of this file in your system.
A Shell Script accepts a file name as a command argument, the script should search for all the instances of this file in your system. If no argument passed to the script then the script should do the searching using the name of the script file. Write the required shell script to perform the above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
