MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Consider the following statements:(a) UNIX provides three types of permissions * Read * Write * Execute (b) UNIX provides three sets of permissions * permission for owner * permission for group * permission for others Which of the above statement/s is/are true?
A
only (a)
B
only (b)
C
both (a) and (b)
D
neither (a) nor (b)
Explanation: 

Detailed explanation-1: -Unix allows three forms of access to any file: read, write, and execute. For an ordinary file, if you have read (r) permission, you can use that file as input to any command/program. If you have write (w) permission, you can make changes to that file.

Detailed explanation-2: -There are three basic permissions in each set: read, write, and execute. For files, those are pretty straightforward: “read” lets you see the file’s contents; “write” lets you change the file’s contents; and “execute” lets you run the file as a program.

Detailed explanation-3: -Explanation: In UNIX system, a file can have three types of permissions-read, write and execute.

There is 1 question to complete.