Please Include chapter and page references with each answer

Please Include chapter and page references with each answer.

1. Is each of the following an absolute pathname, a relative pathname, or a simple filename?<?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com:office:office\" />

a. milk_co

b.correspond/business/milk_co

c./home/max

d./home/max/literature/promo

e. ..

f. letter.0610

3. If the working directory is/home/max with a subdirectory named literature, give three sets of commands that you can use to create a subdirectory named classics under literature. Also give several sets of commands you can use to remove the classics directory and its contents.

5. Suppose you have a file that is linked to a file owned by another user. How can you ensure that changes to the file are no longer shared?

7. If /home/zach/draft and/home/max/letter are links to the same file and the following sequence of events occurs, what will be the date in the opening of the letter?

a. Max gives the command vim.tiny letter.

b. Zach gives the command vim.tiny draft.

c. Zach changes the date in the opening of the letter to January 31, 2010, writes the file, and exits from vim.

d. Max changes the date to February 1, 2010, writes the file, and exits from vim.

9. Does the root directory have any subdirectories you cannot search as an ordinary user? Does the root directory have any subdirectories you cannot read as a regular user? Explain.

11. What is an inode? What happens to the inode when you move a file within a filesystem?

Please Include chapter and page references with each answer.

Solution

1.Is each of the following an absolute pathname, a relative pathname, or a
simple filename?
a. milk_co
b. correspond/business/milk_co
c. /home/max
d. /home/max/literature/promo
e. ..
f. letter.0210

A: a= Directory File
b= relative
c= absolute
d= absolute
e= Hidden File or can be used for the relative parent directory
f= Ordanary/Simple File

2. List the commands you can use to perform these operations:
a. Make your home directory the working directory
b. Identify the working directory

A: a= cd
b= pwd

3. If the working directory is /home/max with a subdirectory named
literature, give three sets of commands you can use to create a subdirectory
named classics under literature. Also give several sets of commands you
can use to remove the classics directory and its contents.

A: a= mkdir /home/max/literature/classics, mkdir ~max/literature/classics, or mkdir ~/literature/classics

b= rmdir /home/max/literature/classics, rmdir ~max/literature/classics, rmdir ~/literature/classics, rm -r /home/max/literature/classics


4. The df utility displays all mounted filesystems along with information
about each. Use the df utility with the
1.Is each of the following an absolute pathname, a relative pathname, or a
simple filename?
a. milk_co
b. correspond/business/milk_co
c. /home/max
d. /home/max/literature/promo
e. ..
f. letter.0210

A: a= Directory File
b= relative
c= absolute
d= absolute
e= Hidden File or can be used for the relative parent directory
f= Ordanary/Simple File

2. List the commands you can use to perform these operations:
a. Make your home directory the working directory
b. Identify the working directory

A: a= cd
b= pwd

3. If the working directory is /home/max with a subdirectory named
literature, give three sets of commands you can use to create a subdirectory
named classics under literature. Also give several sets of commands you
can use to remove the classics directory and its contents.

A: a= mkdir /home/max/literature/classics, mkdir ~max/literature/classics, or mkdir ~/literature/classics

b= rmdir /home/max/literature/classics, rmdir ~max/literature/classics, rmdir ~/literature/classics, rm -r /home/max/literature/classics


4. The df utility displays all mounted filesystems along with information
about each. Use the df utility with the
1.Is each of the following an absolute pathname, a relative pathname, or a
simple filename?
a. milk_co
b. correspond/business/milk_co
c. /home/max
d. /home/max/literature/promo
e. ..
f. letter.0210

A: a= Directory File
b= relative
c= absolute
d= absolute
e= Hidden File or can be used for the relative parent directory
f= Ordanary/Simple File

2. List the commands you can use to perform these operations:
a. Make your home directory the working directory
b. Identify the working directory

A: a= cd
b= pwd

3. If the working directory is /home/max with a subdirectory named
literature, give three sets of commands you can use to create a subdirectory
named classics under literature. Also give several sets of commands you
can use to remove the classics directory and its contents.

A: a= mkdir /home/max/literature/classics, mkdir ~max/literature/classics, or mkdir ~/literature/classics

b= rmdir /home/max/literature/classics, rmdir ~max/literature/classics, rmdir ~/literature/classics, rm -r /home/max/literature/classics


4. The df utility displays all mounted filesystems along with information
about each. Use the df utility with the

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site