ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 444 - 220-1102 discussion

Report
Export

A user requested that the file permissions on a Linux device be changed to only allow access to a certain group of users. Which of the following commands should be used to complete the user's request?

A.
cat
Answers
A.
cat
B.
chmod
Answers
B.
chmod
C.
pwd
Answers
C.
pwd
D.
cacls
Answers
D.
cacls
Suggested answer: B

Explanation:

The chmod command is used to change the permissions of files and directories in Linux. It can grant or revoke read, write, and execute permissions for the owner, the group, and others. To change the file permissions to only allow access to a certain group of users, the chmod command can use either the symbolic or the numeric mode. For example, to give read and write permissions to the group and no permissions to others, the command can be:

chmod g+rw,o-rwx filename

or

chmod 660 filename

asked 02/10/2024
HC KONG
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first