Unix

1:

The first thing that is searched when a command references a file is it

A.

i-node

B.

i-node number

C.

permission setting

D.

none of the above

 

Answer : B

Explanation :

Suppose you enter a command like cp x y. Unlike the user, who uses the name to identify and differentiate files, the system uses i-node number to uniquely identify a file. Any file name has an associated i-node number. In UNIX. different files can have the same name. But the associated i-nodc number will be different. The filename---i-node correspondence can be found in the directory which has to be the first one that is to be searched, as nothing can be done to a file without knowing its i-node number.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.