Unix - Engineering

Q1:

The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:

A 000

B 755

C 744

D 555

E None of the above

ANS:B - 755

Read = 4 Write = 2 Execute = 1
Files are assigned in User, group, other
7 = all permission to the user.
5 = Read Execute to group.
5 = Read Execute to group.
So, the answer = 755.