Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help and explain the reason why. thank you! Start at your home directory as your current working directory. Now perform the following tasks 1.
please help and explain the reason why. thank you!
Start at your home directory as your current working directory. Now perform the following tasks 1. Display the full pathname of your current working directory 2. Create a directory named "udir" in your home directory 3. Make sure the directory "udir" has read, write, and execute permissions for the owner 4. List the permissions for the "udir" directory. 5. Make "udir" your current directory 6. Display the full pathname of your current working directory. 7. Create two empty files, named "file1" and "file2 8. Display the permissions for "file1" and "file2" 9. Move to the immediate parent directory of the "udir" directory. Now answer theses queries 1. Can you make "udir" your current directory (i.e. cd to it)? Why or why not? 2. Can you list the contents of the "udir" directory? Why or why not? 3. Can you edit the "file1 " file? Why or why not? 4. Can you copy the "file2" file to a different directory? Why or why not? 5. Can you rename the "file 1" file to "file1.old"2 Why or why not? 6. Can you remove (i.e. delete) a file from the directory? Why or why not? 10. Change the permissions of the directory "udir" so that it has only READ and WRITE permissions Now answer theses queries 1. Can you make "udir" your current directory (i.e. cd to it)? Why or why not? 2. Can you list the contents of the "udir" directory? Why or why not? 3. Can you remove (i.e. delete) a file from the directory? Why or why not? 4. Can you hard link to the "file2" file? Why or why notStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started