Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions