Question: Enter the following script into vi, calling it scriptFinal. #i/bin'bash for file in $@; do if [ -r $file && -w Sfile && -x $file

Enter the following script into vi, calling it scriptFinal. #i/bin'bash for file in $@; do if [ -r $file && -w Sfile && -x $file ]) then count=%({count+1)) fi done echo Of the $ files entered, $count were riwfx Run the script to make sure it works. Modify the script in three ways: 1. output an error message if no parameters are supplied 2. rather than counting the number of files, find out total number of files that have read permission for the group and execute permission for others 3. output a message 'the directory is not pemmissible to list' if the directory you are trying to list does not have a read permission (5 pts Bonus)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
