Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#!/bin/bash #Descriptition Reading Script This script below will read from the keyboard and do an action based on the input. Name the script read.sh. Make
#!/bin/bash
#Descriptition
Reading Script This script below will read from the keyboard and do an action based on the input. Name the script read.sh. Make it executable and test it. Don't forget to include the proper beginning lines from the beginning of the assignment. Then include the lines below. echo "Existing filenone" read filen echo "New filename: read rew_filen command="cp-1 Sfilen Snew_file" echo "executing Scommand." $command 2. Show the complete script (roads) and the result of running it using a screenshot 3. Describe what read.sh is doing 4. As you type in scripts you will have typos and encounter various errors. After this script runs without error, induce an error by putting blanks around the equal sign. Include a screenshot showing the error that happens when you run the script after introducing the errorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started