Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1- Go to your home directory. 2- Create a directory called hw2. 3- Go to the hw2 directory. 4- Create a directory called t2. 5-

1- Go to your home directory. 2- Create a directory called hw2. 3- Go to the hw2 directory. 4- Create a directory called t2. 5- Issue the following command: echo "This is the second HW." > out.txt 6- Copy out.txt to a new file called out2.txt 7- Add your current path to out2.txt as follows: pwd >> out2.txt 8- Using ">", write the number of lines of out2.txt in out3.txt. 9- Remove out2.txt. 10- Merge out.txt and out3.txt and save the results in out4.txt file. 11- Chang the permissions (access rights) of all files in this directory so that they are only readable and writable for the user with no other permission for anybody else. 12- Write the output of "ls -ltrh" in ls1.txt file. 13- Merge out4.txt and ls1.txt and save the results in out5.txt file. 14- Upload out5.txt to Piazza and put it in HW2 folder. 15- Done. 

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

Step: 3

blur-text-image

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions