Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Write the absolute pathname to the common area ( highlighted in yellow ) . ( 1 0 pts ) Answer: 2 . If

1. Write the absolute pathname to the common area (highlighted in yellow).(10pts)
Answer:
2. If you are currently in the common area and you enter the following command: cd ..
Write the absolute pathname of your current location. (10pts)
Answer:
3. If you include the following syntax at the end of a command line what will happen? The syntax
is : | more(10pts)
Answer:
4. What command should you use to produce some output that is the same as the figure below and
whats the difference between these four files? (10pts)
6. Please provide the correct chmod command to set the following permissions: Use the entire
command, Starting with chmod and ending with the filename. (10pts)
-rwxr--r--1 demissie staff 3 Dec 1207:44 junk.txt
Answer:
-r-xrwxr-x 1 demissie staff 3 Dec 1207:44 junk.txt
Answer:
-rwxr-xr-x 1 demissie staff 3 Dec 1207:44 junk.txt
Answer:
-rwxrwxrwx 1 demissie staff 3 Dec 1207:44 junk.txt
Answer:
7. How do you set permissions for the following:
a. You can modify a file but cannot delete it.
b. You can see the file names (directory content), but you cannot read their contents or modify
them. (10pts)
Answer:
8. Go to the home (personal) and try the following ls command, examine the results, and explain
each command and what it does. (10pts)
a. la /
b. ls *
c. ls ./
d. ls.*
e. ls /*
f. ls */
g. ls /.*
h. ls.*/
i. ls /*/-d
j. ls /*-d
k. ls *-d
l. ls *-ad
m. ls .*-d
Answer:
9. Given any directory, use the ls command to display all files and sub-directories starting with
the letter D(Do not list anything in any sub-directory.).(10pts)
Answer:
10. Explain the following error message. Which filenames would a subsequent ls display? (10pts)
$ ls
Abc abd abf abg abh
$ rm abc ab*
Rm: Cannot remove abc: No such file or directory.
Answer:Directions: Please use the following directory structure to answer questions 1 and 2:
4. What command should you use to produce some output that is the same as the figure below and what's the difference between these four files? (10pts)
5. Explain the error messages displayed in the following sequence of commands. (10pts)Answer:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions