Question: 1Normal 1 No Spac.. Heading 1 . ?. 1, Paragraph Styles Part II Using if- else condition and special variables 1. Write a script, ch9b.sh
1Normal 1 No Spac.. Heading 1 . ?. 1, Paragraph Styles Part II Using if- else condition and special variables 1. Write a script, "ch9b.sh" to accomplish the following tasks: Summer 2018 (CM). This script takes user argument from keyboard for directory entry and checks whether that directory exists in the current directory or home directory a. b. If the directory exists, display the following The directory, (directory namclexits If the directory is not present, display the following: > The directory, (didectory Hint: Use example2 and example3 in PowerPoint slide presentation. c. name l does not exist d. Write the commands in the script file and run the script e. Take a screen shot of your script and the output and attach it here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
