+447737184217 support@onlinenursingwriter.com
Nursing Assignments

Display the command(s) used to do the following: create a script that uses case logic to have someone guess your…

Display the command(s) used to do the following: create a script that uses case logic to have someone guess your…


Display the command(s) used to do the following: create a script that uses case logic to have someone guess your favorite sandwich, such as tuna. Show results.

Display the command(s) used to do the following: display the cclontents of .bashrc file. Next, use the vi editor to edit that file and put in an alias so that you see a long file listing of a directory every time you type list. Show results.

Display the command(s) used to do the following: use a command to simulate how you would troubleshoot a problem with the sandwich script you created in the question above. Show results.

What is wrong with the following lines of code?
While
then
echo “Carrots are great for you.”
else
echo “Don’t forget to eat your broccoli also.”
fi
fi

Edit the veg_choice script again but, this time, change the line: if to use the test command. Show results.

Display the command(s) used to do the following: create a shell variable that outputs the calendar for the current month (call it CALNOW).

How could you set up CALNOW so that it works every time you log in using the bash shell?

Show results.

Display the command(s) used to do the following: in your source directory, write a script called “them” in which you create a function called whoisthere that displays a listing of who is logged in and displays the column headings for the information displayed.

Make the contents of your “them” script resident in memory and test your whoisthere function.

Modify your whoisthere function so that you can enter “These are the folks logged in:” as an argument to appear before you list who is logged into the system.

What actions do you take next to use the whoisthere function with your modifications?

How can you set up your new whoisthere function so that it can be run each time you log in using the bash script?

Show results.

Troubleshoot the problems with the following script (there are 6 errors/corrections. Describe them below):

#===============================================
Script Name: record_entry
By: TRJackson
#===============================================
looptrack=y
while
do
echo -n “Type in the account number:” read account
echo -n “Type the first and last name:” ; read full_name
echo -n “Type the age:” red age
echo -n “Enter another record?” ; read looptrack
finish

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Display the command(s) used to do the following: create a script that uses case logic to have someone guess your… was first posted on July 15, 2019 at 1:45 pm.
©2019 "Essay Associates". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at admin@essayassociates.com