The df utility displays all mounted filesystems along with information about each. Use the df utility with the –h (human-readable) option to answer the following questions.



a. How many filesystems are mounted on your Linux system?

b. Which filesystem stores your home directory?

c. Assuming your answer to exercise 4a is two or more, attempt to create a

hard link to a file on another filesystem. What error message do you get?

What happens when you attempt to create a symbolic link to the file

instead?


Following are sample answers to these questions. Your answers will be dif-
ferent because your filesystems are different.

a. six; b. /dev/hda4; c. ln: creating hard link '/tmp/xxx' to 'xxx': Invalid
cross-device link. No problem creating a cross-device symbolic link.

Computer Science & Information Technology

You might also like to view...

The special syntax for invoking a constructor of the base class is:

(a) super() (b) base() (c) parent() (d) child()

Computer Science & Information Technology

Rewrite the following while loops as for loops:

a) ``` int i = 1; while(i<=10) { if (i<5 && i !=2) cout << 'X'; i++; } ``` b) ``` b) int i =1; while(i<=10) { cout << 'X'; i = i + 3; } int n = 100; do { cout << 'X'; n = n + 100; }while(n < 1000); ```

Computer Science & Information Technology

Because the ________ function is so commonly used, it is available on the Home tab and the Formulas tab under AutoSum

Fill in the blank(s) with correct word

Computer Science & Information Technology

Any instance of a subclass can be used in a program anywhere that an instance of the superclass can be used.

What will be an ideal response?

Computer Science & Information Technology