PrepAway - Latest Free Exam Questions & Answers

What us required of the regular file forthe ln command to succeed?

You want to create a hard link to a regular file. What us required of the regular file for
the ln command to succeed? (Choose two)

PrepAway - Latest Free Exam Questions & Answers

A.
The file must exist before you run the ln command.

B.
The file must be in the same directory as the new file name.

C.
The file must be in the same file system as the new file name.

D.
The file must be in a different directory from the new file name.

E.
The file must be in a different file system from the new file name.

Explanation:

Hard links have to be within the same file system, soft links do not.
The file to be linked to the regular file must exist, otherwise you will have nothing to link to.


Leave a Reply