Question: Decision Logic Use the nano or vi editor to create the following script name the script os _ choice.sh echo - n 'What is your

Decision Logic
Use the nano or vi editor to create the following script name the
script os_choice.sh
echo -n 'What is your favorite operating system?
read OS NAME
if ["$0S_NAME" = "LinuX" |
then
echo "You will, like Ubuntu. "
else
echo "You should give Linux a try.
Give the script executable permissions by typing:
chmod +x os_choice.sh
To run the script type: ./os_choice.sh
Provide a screenshot of the script and the output of the script.
Please label the screenshot "os_choice" This script will ask the
user "What is your favorite operating system? If the user answers
Linux The script will respond "You will like Ubuntu" If the user
answers with any other response, the script should respond "You
should give Linux a try" Include the date/time stamp.
 Decision Logic Use the nano or vi editor to create the

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!