Question: 1. Write al Bash shell script program that takes the name of a file or directory as an argument and reports if the file
1. Write al Bash shell script program that takes the name of a file or directory as an argument and reports if the file is a directory, regular file or other.
Step by Step Solution
There are 3 Steps involved in it
binbash Check if an argument is provided if ne 1 then echo Usage 0 exit 1 fi Get the file or d... View full answer
Get step-by-step solutions from verified subject matter experts
