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

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

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

More Books

Students also viewed these Databases questions

Question

c. What were the reasons for their move? Did they come voluntarily?

Answered: 1 week ago

Question

Be familiar with the integrative servicescape model.

Answered: 1 week ago

Question

Determine the roles of spatial layout and functionality.

Answered: 1 week ago