Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pls show steps The file above contains student records. Use a command line to display the records for the top five students in descending (sorted)
pls show steps
The file above contains student records. Use a command line to display the records for the top five students in descending (sorted) order, i.e., with the highest GPA student's record displayed first. Show your session 2. Create sample files lab1, lab2, lab3 and lab4. They can be created using vi, or doing something like who > lab1, etc. Once you have created the file, display its content with the cat command. Show your session. Combine the lab files: labi, lab2, lab3, and lab4 appending them >> to a file called all.labs . Any errors (pretend one of those lab files do not exist) should be redirected to an error.log file. Since you will have all the files, once you redirect the error 2>, assume that you do not have one of the files that consequently would generate an error, in this case the error.log file will be empty, but to build the command include the 2> as if one of the files did not exist. This whole command will be in one line. Show your session. 3. How many soft links are there in the /usr directory. Show the command and its output. Create a file named students containing the following data in your current directory. Each line in this file represents a student's first name, last name, and 3 exam scores. Each line should be regarded as a record containing 5 fields separated by one or more tab characters. You must use the awk command to answer the questions below Tom Jones 100 90 80 Nancy Jones 70 80 90 Terry Sims 55 65 75 John Terry 75 76 77 Ruth Maier 100 100 100Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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