Question: write a script which will list the contents of the /dev directory. Then have the script create a file to redirect the output from the

write a script which will list the contents of the /dev directory. Then have the script create a file to redirect the output from the file to a new directory called Devsample in the /home directoy which will only disply first 10 lines of the directory and last 5 lines of the directory. Show the output of the Devsample file. ( IN LINUX)

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!