MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is execute permission?
A
permission to execute the file
B
permission to delete the file
C
permission to rename the file
D
permission to search or navigate through the directory
Explanation: 

Detailed explanation-1: -Write permission means that a user may create files in the directory. Execute permission means that the user may enter the directory (i.e. make it his current directory.)

Detailed explanation-2: -Execute permission on files means the right to execute them, if they are programs. (Files that are not programs should not be given the execute permission.) For directories, execute permission allows you to enter the directory (i.e., cd into it), and to access any of its files.

Detailed explanation-3: -The read ( r ) permission lets users look ( ls ) into directories. The execute ( x ) permission lets users move ( cd ) into directories. The write ( w ) permission lets users add and remove files.

Detailed explanation-4: -Read permission means you can look at the file’s contents. Write permission means you can change or delete the file. Execute permission means you can run the file as a program.

Detailed explanation-5: -The command chmod-R 777 / makes every single file on the system under / (root) have rwxrwxrwx permissions. This is equivalent to allowing ALL users read/write/execute permissions. If other directories such as home, media, etc are under root then those will be affected as well.

There is 1 question to complete.