MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A user needs to open a file, edit it, and then save the changes. What permissions does he need to do this? (Choose two.)
A
Read
B
Write
C
Execute
D
Modify
Explanation: 

Detailed explanation-1: -Hi dear 2. A user needs to open a file, edit it, and then save the changes. What two permissions does he need to do this? Ans is read and write 3.

Detailed explanation-2: -The chmod command enables you to change the permissions on a file. You must be superuser or the owner of a file or directory to change its permissions.

Detailed explanation-3: -Changing Permissions To change the file or the directory permissions, you use the chmod (change mode) command. There are two ways to use chmod-the symbolic mode and the absolute mode.

Detailed explanation-4: -Use the chmod command to change the permissions of your files. This adds write permission for group members to the files chap1 and chap2. This gives read, write, and execute permission to the user who owns the file (u=rwx).

There is 1 question to complete.