Question: Write a Linux shell commands to perform the following: 1- To sort the file info.txt contents in a new file named Sortedinfo.txt : 2-To return

Write a Linux shell commands to perform the following:

1- To sort the file info.txt contents in a new file named Sortedinfo.txt:

2-To return the first 5 lines in data1 file:

3-To rename the data1.txt file to info.txt file:

4-To merge contents of the info.txt and data2.txt files in a new file named all.txt:

5-To return all lines that end with the word 'site' in info.txt file:

Note: this is for my unix lab write the commands in fedora terminal using virtualbox and please write all the commands needed to run each command for the 5 points from start to finish with creating the directories to everything so i wont get errors thanks :)

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!