1. Would the command “cd ../root” be using a relative or absolute path? 2. In UN
ID: 3594754 • Letter: 1
Question
1. Would the command “cd ../root” be using a relative or absolute path?
2. In UNIX, the 'dot' directory refers to:
3. What single command can be used to create a directory branch d1/d2/d3 under your current directory (assume none of the directories yet exist):
4. What command would user jsmith use to access fawad from his local Fedora 24 drive (assuming jsmith had an account on fawad):
5. Indicate the value of your PS1 environment variable on fawad, and identify each component of it:
6. Indicate a command that can be used to delete a directory (and all lower contents) that is not empty:
7. Indicate at least 2 different ways you can determine your current location in the file system:
8. What command could you issue to install the ‘mail’ package without any resource file having been downloaded?
9. What command did we use to put the SELinux system into permissive mode (during our install of the HP printer software):
10. What permission setting(s) must be made on a script file (of which you are the owner) to allow it to be run?
Explanation / Answer
1)Answer:
absolute path
Explanation:
An absolute path is defined as the specifying the location of a file or directory from the root directory(/).
2)Answer:
When parsing pathname components, a dot directory name of "." refers to the current directory name component and a dot directory name of ".." refers to the parent directory name of the current directory name component.
6)Answer:
7)Answer:
Use the pwd commandEcho the $PWD environment variable
9)Answer:
setenforce 0or (sudo setenforce 0)
10)Answer:
User must have execute permission (e.g., chmod u+x)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.