Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UNIX & PUTTY: If you are asked to show your session, it means that you need to be logged in the unix system. Either use

UNIX & PUTTY:

If you are asked to show your session, it means that you need to be logged in the unix system. Either use the copy and paste feature of the contents that you see on the screen or use the Logging feature found on putty. Remove the non necessary extra text and only show the command and output used to answer the questions (look at the option logging in putty, select the option Printable output)

Each question has its own point system. For instance, if an assignment has 10 questions and it is worth 50 points, each question will be worth 5 points, etc.

When I correct your assignments, there will be series of *** in front of an answer, indicating that the answer is either incomplete or complete wrong. The points will be deducted accordingly. -1 for very minor error, 3 or more for major errors. The key for the assignments will be found under Content-assignment/lab answers.

Always include the assignment questions (except assignments 6, 7), otherwise 10 pts will be deducted. Also, attach ONLY .txt files, NO Word or PDF files.

If the files do not exist, please create dummy ones.

  1. Create this sample file, you can call it student grades

    John Doe 3.54 ECE James Davis 3.71 ECE Al Davis 2.63 CS Ahmad Rashid 3.74 MBA Sam Chu 3.68 ECE Arun Roy 3.06 SS Rick Marsh 2.34 CS James Adam 2.77 CS Art Pohm 4.00 ECE John Clark 2.68 ECE Nabeel Ali 3.56 EE Tom Nelson 3.81 ECE Pat King 2.77 SS Jake Zulu 3.00 CS John Lee 2.64 EE Sunil Raj 3.36 ECE Charles Right 3.31 EECS Diane Rover 3.87 ECE Aziz Inan 3.75 EECS Lu John 3.06 CS Lee Chow 3.74 EE Adam Giles 2.54 SS Andy John 3.98 EECS

    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 students 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: lab1, 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

2. Enrolling employees in courses and programs.

Answered: 1 week ago

Question

1. Communicating courses and programs to employees.

Answered: 1 week ago

Question

6. Testing equipment that will be used in instruction.

Answered: 1 week ago