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 oschoice.sh
echo n 'What is your favorite operating system?
read OS NAME
if $SNAME" "LinuX"
then
echo "You will, like Ubuntu.
else
echo "You should give Linux a try.
Give the script executable permissions by typing:
chmod oschoice.sh
To run the script type: oschoice.sh
Provide a screenshot of the script and the output of the script.
Please label the screenshot oschoice" 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 datetime stamp.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
