Question: Consider a file system with the following directory structure. Write down the Unix commands to do the following . (10 pts) Assuming that you are

 Consider a file system with the following directory structure. Write down

Consider a file system with the following directory structure. Write down the Unix commands to do the following . (10 pts) Assuming that you are in the root directory, change into the directory Admin using a single command 2. (10 pts) While in Admin, rename the file users.txt in security to role.brt, using a single command without changing into security 3 (10pts) Whille still in Admin, lst the last 20 lines of the file logs under apps, using a single command 4. (10 pts) While still in Admin, copy the file role.txt in security into directory mary, using the same command. In your command, must you state the name role.txt in the mary directory? Find it out yourself by trying (10pt) While still in Admin, change the current directory to john using a single command 6. (10pts) Whille still in john, create a directory called homeworks in the directory john, using a single command 7. (10 pts) Whille still in john, create an empty file called hw1 in homeworks using a singe command touch 8. (10pts) While still in john, remove labs and everything under it such as files and subdierectories (10pt) Give the format of using the command man to look up the definition of commend rm 10. (10 pts) Using the above command to tell whether m -r is equivalent to m -R. Are they equivalent

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!