Explore unix file system


Objective: To explore the UNIX file system, employ basic UNIX commands and use a text editor.

Task:

1. Logon to Linux.

2. Make a directory "Unix" under your home directory.

Command(s): ………………………………………….

3. Make four sub-directories bin, conf, docs and data under the directory

"Unix" created by you in step 2. See directory diagram given below:

247_home directory.jpg

Command(s): ………………………………………….

4. Make the document called “sed-info” in your "Unix" directory using touch command.

Command: ………………………………………….

5. Make the document called “join-info” in your "Unix" directory by using touch command.

Command: ………………………………………….

6. While in the UNIX directory, move the files "sed-info" and "join-info" to directory “docs” by using a single UNIX command.

Command: ………………………………………….

7. Change to your home directory.

Command: ………………………………………….

8. Use a single command to rename and move the “sed-info” from the “docs” directory to the “bin” directory.

Command: ………………………………………….

9. Change to data directory.

Command: ………………………………………….

10. While in the data directory create a command that would copy the “sed-info” from the “bin” directory and “join-info” from the docs’ directory to the “conf” directory using a) absolute paths and b) relative paths.

Command (relative path): ………………………………………….

Command (absolute path): ………………………………………….

11. Move to your home directory. Make a single command which would delete the UNIX directory and all the files and sub-directories of the UNIX directory.

Command: ………………………………………….

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Explore unix file system
Reference No:- TGS01002

Expected delivery within 24 Hours