Question: Q . 1 . ( 3 0 points ) Given the following directory structure. Write a shell script that takes file names as command line

Q.1.(30 points) Given the following directory structure. Write a shell script that takes file names as command line arguments.a. Write the last 5 lines of labwork1. txt into a file named lines.b. Your current diractory is CSE232fall. Change your current directory as CSE232spring.c. Copy all labworks under CSE232 fall directory to CSE232spring directory with a single command.d. Change your current directory as Downloads. Then change the permissions of dl.pdf as: give read, write and execute rights to the user; remove execute right from the group and do not change other rights of the group; remove write and execute rights from others and do not change other rights of others.
 Q.1.(30 points) Given the following directory structure. Write a shell script

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!