Question: Log into your UNIX system and create the following directory hierarchy under your home directory: lab 8 / personal / hobbies / finances / professional

Log into your UNIX system and create the following directory hierarchy under your home directory:
lab8/
personal/
hobbies/
finances/
professional/
courses/
cst126/
projects/
misc/
temp/
Use appropriate commands to build this structure. (3 points)
From the lab8 directory, use the commandls -alR > lab8_directoryto create a complete listing of the subdirectories and files. (Paste a screenshot)
Analyze the output and explain what each column in the listing represents. (2 points)
Determine and record the absolute pathname of your login directory. Explain how you obtained this information. (1 point)
Execute the following commands in sequence:
a. cd lab8/professional/courses
b. cd ../projects
c. cd ../../personal/hobbies
After each command, use pwd to display your current location. (Paste a screenshot)
Explain how relative pathnames work based on these results. (2 points)
Create a file named "unix_commands.txt" in the cst126 directory. In the file, list at least 5 UNIX commands you've learned so far, with a brief description of each.
Use vi or nano to create and edit this file.(Paste a screenshot of the file content)(2 points)
Use appropriate commands to:
a. Copy "unix_commands.txt" to the projects directory
b. Move the copy from projects to the temp directory
c. Create a hard link to the original file in the hobbies directory
d. Create a symbolic link to the original file in the finances directory
Explain the difference between hard links and symbolic links. (3 points)
Change to the /etc directory and list its contents. (Paste a screenshot)
Identify any symbolic links and explain their purpose. How many directories are in /etc?(2 points)
Locate the file in /etc that contains attributes for all system users.
Display your own entry from this file and explain each field. (Paste a screenshot)(2 points)
Use thefindcommand to locate all files in your lab8 directory that have been modified in the last 24 hours. (Paste a screenshot)
Explain the command you used. (1 point)
Create a new file named "hidden_file" in your home directory. Rename it to make it a hidden file. (Paste a screenshot)
Verify that it's hidden and explain how to list hidden files. (1 point)
Use thechmodcommand to change the permissions of "unix_commands.txt" so that:
You have read, write, and execute permissions
Your group has read and execute permissions
Others have only read permissions
Explain the numeric and symbolic methods to set these permissions. (1 point)
Log into your UNIX system and create the

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 Programming Questions!