Fill This Form To Receive Instant Help
Homework answers / question archive / Basic BASH script: Create a bash script, called script
Basic BASH script:
Create a bash script, called script.sh, in the final directory with the following conditions:
Set a variable for fakename to equal Mickey Mouse
Ask the user: “Enter your name:”
Assign the user’s input to realname
Introduce yourself by saying: “Hello _____“, substituting the blank with the fakename
variable.
Respond by saying: “I know you, your real name is _____“, substituting the blank with
the realname variable.
Respond with: “Nice talking to you _____“, substituting the blank with the realname
variable.
Give the message “Goodbye!!!” to show that the script is done.
Run the script scritp.txt in the final directory
Paste the screen shot of the content script.sh and output of running script.sh