Question: Create sample files lab1, lab2, lab3 and lab4. They can be created using vi, or doing something like who > lab1, etc. Once you have

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

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!