Q. srwxr-xrw- is a __________

  • (A) internet socket file
  • (B) unix domain socket file
  • (C) symbolic link
  • (D) shared file
πŸ’¬ Discuss
βœ… Correct Answer: (B) unix domain socket file
Explanation: 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.
Explanation by: Virat Bhati
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
292
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Virat Bhati
Publisher
πŸ“ˆ
81%
Success Rate