Question: Hello. I understand there is a long explanation for this project. I hope I did my best to shorten the details. If you have any
Hello. I understand there is a long explanation for this project. I hope I did my best to shorten the details. If you have any questions let me know I will help in anyway I am able. Type the answers below, a VM may be helpful, but is not necessary. I much appreciate the help you put forth and will make sure to up vote your work. Again the help is much appreciated. Have a nice day.
Instructions:


(1) Create a text file sample.txt with the following sentences: You better watch out You better not cry Better not pout I'm telling you why Santa Claus is coming to town He's making a list And checking it twice Gonna find out Who's naughty and nice Santa Claus is coming to town (2) (5 pts) Give the complete command line to show the fourth and fifth lines from the file; (3) (2 pts) Give the complete command line to sort all the lines in sample.txt in alphabetic order; (4) (1 pt) How many words are in the file (run the command and type the output here)? (5) (6 pts) Give the complete command line to compress the file to sample.tar.gz; (7) (4 pts) Give the complete command line to use cut to show the second word from each line in sampleforcut.txt; (8) (5 pts) Give the complete command line to show all the lines that do not have a word with letter o (case insensitive). (9) (4 pts) Use grep or sed commands to search all the lines in sample.txt and print the line if it has word better (case insensitive). h 2. Bash scripting (8 pts) Create a script file that calls read to get two integers from the user, and shows the bigger one. You assume the user always gives the correct input. Type the script below (including shebang line)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
