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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started