Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed

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 error

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

Find the exact value of each expression. (a) cot 1 (3) (b) sec 1 2

Answered: 1 week ago

Question

69 Needs assessment and analysis.

Answered: 1 week ago