Home / Programming MCQs / Linux MCQs / Question

V

Virat Bhati • 7.23K Points
Tutor III

Q. srwxr-xrw- is a __________

(A) internet socket file
(B) unix domain socket file
(C) symbolic link
(D) shared file
The first character can be :

d = directory
– = regular file
l = symbolic link
s = Unix domain socket
p = named pipe
c = character device file
b = block device file
The following characters can be :

r = read permission
w = write permission
x = execute permission
– = 0 permission
With x=1 / w=2 / r=4


 

The first column defines a directory, file, or link, the next three columns define the permissions for User, Group, and Other.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.