Question: Find information on how to pass arguments to a shell script. Write a shell script named CreateDir.sh that takes a directory name as an argument,
- Find information on how to pass arguments to a shell script. Write a shell script named CreateDir.sh that takes a directory name as an argument, and creates it within the current directory. The shell script should use command mkdir internally
- Find information on how to use command echo to print messages to the terminal. Write a shell script named ShowDate.sh that outputs a message like this, using commands echo and date: The current date is Sun Feb 7 12:37:22 EST 2016
Step by Step Solution
There are 3 Steps involved in it
Passing arguments to a shell script and using commands like mkdir echo and date are common tasks in ... View full answer
Get step-by-step solutions from verified subject matter experts
