1.

A file named file01 should be readable, writable and executable only by the user(owner). Which one of the following set of command will be used?(a) chmod 700 file01(b) chmod 000 file01(c) chmod477 file01(d) chmod777 file01I got this question in quiz.I need to ask this question from Changing File Ownership and Permissions in division Basic File Attributes of Unix

Answer» CORRECT choice is (a) chmod 700 file01

To explain: SINCE 7(111) REPRESENTS read, write, execute permission. So 700 will represent read, write, execute permission only for the user (OWNER).


Discussion

No Comment Found

Related InterviewSolutions