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:
lab
personal
hobbies
finances
professional
courses
cst
projects
misc
temp
Use appropriate commands to build this structure. points
From the lab directory, use the commandls alR labdirectoryto create a complete listing of the subdirectories and files. Paste a screenshot
Analyze the output and explain what each column in the listing represents. points
Determine and record the absolute pathname of your login directory. Explain how you obtained this information. point
Execute the following commands in sequence:
a cd labprofessionalcourses
b cd projects
c cd personalhobbies
After each command, use pwd to display your current location. Paste a screenshot
Explain how relative pathnames work based on these results. points
Create a file named "unixcommands.txt in the cst directory. In the file, list at least 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 points
Use appropriate commands to:
a Copy "unixcommands.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. 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 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 points
Use thefindcommand to locate all files in your lab directory that have been modified in the last hours. Paste a screenshot
Explain the command you used. point
Create a new file named "hiddenfile" 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. point
Use thechmodcommand to change the permissions of "unixcommands.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. point
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
