Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write executable scripts to show and execute the following requests: Use the learned commands and create the following structure in the path /home/users: 1. Create

Write executable scripts to show and execute the following requests:

Use the learned commands and create the following structure in the path /home/users:

1. Create a directory with the name 'Name' in the path /home/users 2. Create a directory with the name 'Last_Name' in the path /home/users 3. Inside both the created directories also create the following directories: a) directory 'Directory1' b) directory 'Directory2' c) directory 'Directory3' d) directory 'Directory4' 4. In each of the created subdirectories(Directory1,..., Directory4) create a file with name Absolute_Path.txt -Give a certain command the will write in the first line of the file the following sentence. "The absolute path of this file is: ". Use a variable for Path.(Directory1) -Give a certain command the will write in the first line of the file the following sentence. "The absolute path of this file is: ". Use a variable for Path.(Directory2) -Give a certain command the will write in the first line of the file the following sentence. "The absolute path of this file is: ". Use a variable for Path.(Directory3) -Give a certain command the will write in the first line of the file the following sentence. "The absolute path of this file is: ". Use a variable for Path.(Directory4)

5. Use a certain command to move the 4 files with name 'Absoulute_Path' from 'Name' directory to the 'Last_Name' directory in the correct subcategories.

6. Change the access of the files that only the user with your name can have access to read, write and execute the files, and not other group users or other users.

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Give the size of each matrix. (a) (b) (c) 45 2 3 5 10 10 5

Answered: 1 week ago

Question

4. What sales experience have you had?

Answered: 1 week ago