Question: Please edit my Linux BASH script so that when the terminal reads user input, it will create the file with the name read. --------------------------------------------------- MY

Please edit my Linux BASH script so that when the terminal reads user input, it will create the file with the name read.

---------------------------------------------------

MY CODE:

----------------------------------------------------

Please edit my Linux BASH script so that when the terminal reads

#! /bin/bash echo 'enter a file name read FILENAME echo "No input has been received, so no file will be created" exit 1 else touch F ILENAME echo "$FILENAME has been created.. fi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!