COMPUTER SCIENCE AND ENGINEERING
UNIX
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
chmod u+x emp[1-3]
|
|
chmod 777 emp*
|
|
chmod u+r emp{1-3}
|
|
chmod 222 emp123
|
Detailed explanation-1: -Answer. Ans-chmod u+x emp[I-3] B. is the command which is used to change protection mode of files staring emp and ending with 1, 2 and 3.
Detailed explanation-2: -5. Which command is used to change protection mode of files starting with the string emp and ending with 1, 2, or 3? chmod 222 emp?
Detailed explanation-3: -The chmod (CHange MODe) command is used to change permissions for a file or directory on a Unix machine.
Detailed explanation-4: -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-5: -chmod changes the access permissions, or modes, of the specified file or directory. (Modes determine who can read, write, or search a directory or file.)