Write a script called activity that checks whether you can


Problem

Write a script called activity that checks whether you can execute a file whose pathname is provided by the user. If you cannot, your script should add read and execute permissions for the user and group. If you can execute, the script should ensure that the user and group have rwx while others can only read the file. In either case, you should display the permissions before and after you've changed them. Include a first line that calls the bash shell as the interpreter Add a comment to state the purpose of the script and other comments to make the script easier to read.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a script called activity that checks whether you can
Reference No:- TGS02779360

Expected delivery within 24 Hours