I’m studying for my Linux class and need an explanation.
Please answer each question on the command line. This is a virtual lab and requires my credentials, which i will provide once we have talked.
Task 20: Create a file called “Hello World” with the following five separate lines of text – What Is the Air speed velocity of an Unladen swallow ? Then use a command to read the file and sort the lines alphabetically. Grep the third line and output that to a new file called “Hello Again World”. What is the text in the file “Hello Again World?
Task 22: Escalate to root by any means possible, with the exception of using “su” or changing the root password. Read the file in root’s home directory and provide a screenshot of the resulting text, along with any commands used