UNIX MCQs – Permissions and Ownership (Part – 4)

UNIX Question and Answer – Permissions and Ownership

UNIX MCQ – Multiple Choice Questions for exam, interview, and Entrance Test

1. In UNIX, what does the command “chmod a=rw,g=x,o= file.txt” do?

a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

b) Sets read and write permissions for all users, execute permission for the group, and write permission for others

c) Sets read and write permissions for all users, execute permission for the group, and read permission for others

d) Sets read and write permissions for all users, execute permission for the group, and execute permission for others

Answer: a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

Explanation: The command “chmod a=rw,g=x,o= file.txt” sets read and write permissions for all users, execute permission for the group, and no permissions for others in UNIX.


2. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


3. In UNIX, what does the command “chmod a=rwx,u-x,g= file.txt” do?

a) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group

b) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets read permission for the group

c) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets write permission for the group

d) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets execute permission for the group

Answer: a) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group

Explanation: The command “chmod a=rwx,u-x,g= file.txt” sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group in UNIX.


4. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


5. In UNIX, what does the command “chmod a=rw,g=x,o= file.txt” do?

a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

b) Sets read and write permissions for all users, execute permission for the group, and write permission for others

c) Sets read and write permissions for all users, execute permission for the group, and read permission for others

d) Sets read and write permissions for all users, execute permission for the group, and execute permission for others

Answer: a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

Explanation: The command “chmod a=rw,g=x,o= file.txt” sets read and write permissions for all users, execute permission for the group, and no permissions for others in UNIX.


6. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


7. In UNIX, what does the command “chmod a=rwx,u-x,g= file.txt” do?

a) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group

b) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets read permission for the group

c) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets write permission for the group

d) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets execute permission for the group

Answer: a) Sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group

Explanation: The command “chmod a=rwx,u-x,g= file.txt” sets read, write, and execute permissions for all users, removes execute permission for the owner, and sets no permissions for the group in UNIX.


8. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


9. In UNIX, what does the command “chmod a=rw,g=x,o= file.txt” do?

a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

b) Sets read and write permissions for all users, execute permission for the group, and write permission for others

c) Sets read and write permissions for all users, execute permission for the group, and read permission for others

d) Sets read and write permissions for all users, execute permission for the group, and execute permission for others

Answer: a) Sets read and write permissions for all users, execute permission for the group, and no permissions for others

Explanation: The command “chmod a=rw,g=x,o= file.txt” sets read and write permissions for all users, execute permission for the group, and no permissions for others in UNIX.


10. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


11. In UNIX, what does the command “chmod a=rwx,u-x,g=w,o=x file.txt” do?

a) Sets read, write, and execute permissions for all users, removes execute permission for the owner, sets write permission for the group, and execute permission for others

b) Sets read, write, and execute permissions for all users, removes execute permission for the owner, sets write permission for the group, and no permissions for others

c) Sets read, write, and execute permissions for all users, removes execute permission for the owner, sets read and write permission for the group, and execute permission for others

d) Sets read, write, and execute permissions for all users, removes execute permission for the owner, sets read and write permission for the group, and no permissions for others

Answer: b) Sets read, write, and execute permissions for all users, removes execute permission for the owner, sets write permission for the group, and no permissions for others

Explanation: The command “chmod a=rwx,u-x,g=w,o=x file.txt” sets read, write, and execute permissions for all users, removes execute permission for the owner, sets write permission for the group, and no permissions for others in UNIX.


12. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


13. In UNIX, what does the command “chmod a=rwx,u-w,g=r,o= file.txt” do?

a) Sets read, write, and execute permissions for all users, removes write permission for the owner, sets read permission for the group, and no permissions for others

b) Sets read, write, and execute permissions for all users, removes write permission for the owner, sets read permission for the group, and execute permission for others

c) Sets read, write, and execute permissions for all users, removes write permission for the owner, sets write permission for the group, and no permissions for others

d) Sets read, write, and execute permissions for all users, removes write permission for the owner, sets write permission for the group, and execute permission for others

Answer: c) Sets read, write, and execute permissions for all users, removes write permission for the owner, sets write permission for the group, and no permissions for others

Explanation: The command “chmod a=rwx,u-w,g=r,o= file.txt” sets read, write, and execute permissions for all users, removes write permission for the owner, sets write permission for the group, and no permissions for others in UNIX.


14. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


15. In UNIX, what does the command “chmod a=rwx,u=rw,g=r,o= file.txt” do?

a) Sets read, write, and execute permissions for all users, read and write permissions for the owner, read permission for the group, and no permissions for others

b) Sets read, write, and execute permissions for all users, read and write permissions for the owner, read permission for the group, and execute permission for others

c) Sets read, write, and execute permissions for all users, read and write permissions for the owner, write permission for the group, and no permissions for others

d) Sets read, write, and execute permissions for all users, read and write permissions for the owner, write permission for the group, and execute permission for others

Answer: a) Sets read, write, and execute permissions for all users, read and write permissions for the owner, read permission for the group, and no permissions for others

Explanation: The command “chmod a=rwx,u=rw,g=r,o= file.txt” sets read, write, and execute permissions for all users, read and write permissions for the owner, read permission for the group, and no permissions for others in UNIX.


16. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


17. In UNIX, what does the command “chmod a=rwx,u=rw,g=rw,o= file.txt” do?

a) Sets read, write, and execute permissions for all users, read and write permissions for the owner and group, and no permissions for others

b) Sets read, write, and execute permissions for all users, read and write permissions for the owner and group, and execute permission for others

c) Sets read, write, and execute permissions for all users, read and write permissions for the owner and group, write permission for others, and execute permission for the owner

d) Sets read, write, and execute permissions for all users, read and write permissions for the owner and group, write permission for others, and execute permission for the group

Answer: a) Sets read, write, and execute permissions for all users, read and write permissions for the owner and group, and no permissions for others

Explanation: The command “chmod a=rwx,u=rw,g=rw,o= file.txt” sets read, write, and execute permissions for all users, read and write permissions for the owner and group, and no permissions for others in UNIX.


18. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


19. In UNIX, what does the command “chmod a=rw,u=,g=rw,o= file.txt” do?

a) Sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others

b) Sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and execute permission for others

c) Sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, write permission for others, and execute permission for the owner

d) Sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, write permission for others, and execute permission for the group

Answer: a) Sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others

Explanation: The command “chmod a=rw,u=,g=rw,o= file.txt” sets read and write permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others in UNIX.


20. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


21. In UNIX, what does the command “chmod a=rw,u=,g=x,o= file.txt” do?

a) Sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, and no permissions for others

b) Sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, and execute permission for others

c) Sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, write permission for others, and execute permission for the owner

d) Sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, write permission for others, and execute permission for the group

Answer: a) Sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, and no permissions for others

Explanation: The command “chmod a=rw,u=,g=x,o= file.txt” sets read and write permissions for all users, removes all permissions for the owner, sets execute permission for the group, and no permissions for others in UNIX.


22. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


23. In UNIX, what does the command “chmod a=rwx,u=,g=rw,o= file.txt” do?

a) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others

b) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and execute permission for others

c) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, write permission for others, and execute permission for the owner

d) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, write permission for others, and execute permission for the group

Answer: a) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others

Explanation: The command “chmod a=rwx,u=,g=rw,o= file.txt” sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read and write permissions for the group, and no permissions for others in UNIX.


24. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


25. In UNIX, what does the command “chmod a=rw,u=,g=w,o= file.txt” do?

a) Sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, and no permissions for others

b) Sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, and execute permission for others

c) Sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, write permission for others, and execute permission for the owner

d) Sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, write permission for others, and execute permission for the group

Answer: a) Sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, and no permissions for others

Explanation: The command “chmod a=rw,u=,g=w,o= file.txt” sets read and write permissions for all users, removes all permissions for the owner, sets write permission for the group, and no permissions for others in UNIX.


26. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


27. In UNIX, what does the command “chmod a=rwx,u=,g=r,o= file.txt” do?

a) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, and no permissions for others

b) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, and execute permission for others

c) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, write permission for others, and execute permission for the owner

d) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, write permission for others, and execute permission for the group

Answer: a) Sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, and no permissions for others

Explanation: The command “chmod a=rwx,u=,g=r,o= file.txt” sets read, write, and execute permissions for all users, removes all permissions for the owner, sets read permission for the group, and no permissions for others in UNIX.


28. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


29. In UNIX, what does the command “chmod a=rw,u=r,g=,o= file.txt” do?

a) Sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, and no permissions for others

b) Sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, and execute permission for others

c) Sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, write permission for others, and execute permission for the owner

d) Sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, write permission for others, and execute permission for the group

Answer: a) Sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, and no permissions for others

Explanation: The command “chmod a=rw,u=r,g=,o= file.txt” sets read and write permissions for all users, read and write permissions for the owner, removes all permissions for the group, and no permissions for others in UNIX.


30. Which command is used to change the permissions of a symbolic link’s target file in UNIX?

a) chmod -h

b) chmod +h

c) chmod -l

d) chmod +l

Answer: b) chmod +h

Explanation: The chmod +h command is used to change the permissions of a symbolic link’s target file in UNIX.


31. What does the octal representation “755” signify regarding file permissions in UNIX?

a) Read and execute permissions for the owner, group, and others

b) Read, write, and execute permissions for the owner, read and execute permissions for the group and others

c) Read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others

d) Read and execute permissions for the owner, read and execute permissions for the group, and read permission for others

Answer: c) Read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others

Explanation: In the octal representation, “7” stands for full permissions, “5” for read and execute, thus “755” means read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others.


32. Which command is used to change the owner of a file in UNIX?

a) chowner

b) chown

c) changeowner

d) changeown

Answer: b) chown

Explanation: The chown command is used to change the owner of a file in UNIX.


33. In UNIX, what does the command “chmod u=rw,g=r,o=r file.txt” do?

a) Sets read and write permissions for the owner, read permission for the group, and read permission for others

b) Sets read and write permissions for the owner, read and write permissions for the group, and read and write permissions for others

c) Sets read and write permissions for the owner, read permission for the group, and no permissions for others

d) Sets read and write permissions for the owner, read and execute permissions for the group, and read permission for others

Answer: a) Sets read and write permissions for the owner, read permission for the group, and read permission for others

Explanation: The command “chmod u=rw,g=r,o=r file.txt” sets read and write permissions for the owner, read permission for the group, and read permission for others in UNIX.


34. Which command is used to change the group ownership of a file in UNIX?

a) chgrp

b) chown

c) changegrp

d) changeown

Answer: a) chgrp

Explanation: The chgrp command is used to change the group ownership of a file in UNIX.


35. In UNIX, what does the command “chmod 764 file.txt” do?

a) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and read and write permissions for others

b) Sets read, write, and execute permissions for the owner and group, and read and write permissions for others

c) Sets read and write permissions for the owner, read and write permissions for the group, and read permission for others

d) Sets read and write permissions for the owner, read permission for the group, and read permission for others

Answer: b) Sets read, write, and execute permissions for the owner and group, and read and write permissions for others

Explanation: The command “chmod 764 file.txt” sets read, write, and execute permissions for the owner and group, and read and write permissions for others in UNIX.


36. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


37. In UNIX, what does the command “chmod u=rwx,g=,o= file.txt” do?

a) Sets read, write, and execute permissions for the owner, removes all permissions for the group, and removes all permissions for others

b) Sets read, write, and execute permissions for the owner, removes all permissions for the group, and sets read and execute permissions for others

c) Sets read, write, and execute permissions for the owner, removes all permissions for the group, and sets read permission for others

d) Sets read, write, and execute permissions for the owner, removes all permissions for the group, and sets execute permission for others

Answer: a) Sets read, write, and execute permissions for the owner, removes all permissions for the group, and removes all permissions for others

Explanation: The command “chmod u=rwx,g=,o= file.txt” sets read, write, and execute permissions for the owner, removes all permissions for the group, and removes all permissions for others in UNIX.


38. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


39. In UNIX, what does the command “chmod g+r,o+r file.txt” do?

a) Adds read permission for the group and others

b) Removes read permission for the group and others

c) Sets read permission for the group and others

d) Sets read and write permission for the group and others

Answer: c) Sets read permission for the group and others

Explanation: The command “chmod g+r,o+r file.txt” sets read permission for the group and others in UNIX.


40. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


41. In UNIX, what does the command “chmod u=r,g=w,o=x file.txt” do?

a) Sets read permission for the owner, write permission for the group, and execute permission for others

b) Sets read permission for the owner, write permission for the group, and no permissions for others

c) Sets read permission for the owner, write and execute permission for the group, and execute permission for others

d) Sets read permission for the owner, write and execute permission for the group, and no permissions for others

Answer: b) Sets read permission for the owner, write permission for the group, and no permissions for others

Explanation: The command “chmod u=r,g=w,o=x file.txt” sets read permission for the owner, write permission for the group, and no permissions for others in UNIX.


42. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


43. In UNIX, what does the command “chmod u=rwx,g=rx,o= file.txt” do?

a) Sets read, write, and execute permissions for the owner, read and execute permissions for the group, and no permissions for others

b) Sets read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others

c) Sets read, write, and execute permissions for the owner, read and execute permissions for the group, and write permission for others

d) Sets read, write, and execute permissions for the owner, read and execute permissions for the group, and execute permission for others

Answer: b) Sets read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others

Explanation: The command “chmod u=rwx,g=rx,o= file.txt” sets read, write, and execute permissions for the owner, read and execute permissions for the group, and read and execute permissions for others in UNIX.


44. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


45. In UNIX, what does the command “chmod u=rwx,g=rw,o=r file.txt” do?

a) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and read permission for others

b) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and no permissions for others

c) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and write permission for others

d) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and execute permission for others

Answer: a) Sets read, write, and execute permissions for the owner, read and write permissions for the group, and read permission for others

Explanation: The command “chmod u=rwx,g=rw,o=r file.txt” sets read, write, and execute permissions for the owner, read and write permissions for the group, and read permission for others in UNIX.


46. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


47. In UNIX, what does the command “chmod u=rw,g=r,o=rx file.txt” do?

a) Sets read and write permissions for the owner, read permission for the group, and read and execute permissions for others

b) Sets read and write permissions for the owner, read and write permissions for the group, and read and execute permissions for others

c) Sets read and write permissions for the owner, read permission for the group, and write permission for others

d) Sets read and write permissions for the owner, read permission for the group, and execute permission for others

Answer: a) Sets read and write permissions for the owner, read permission for the group, and read and execute permissions for others

Explanation: The command “chmod u=rw,g=r,o=rx file.txt” sets read and write permissions for the owner, read permission for the group, and read and execute permissions for others in UNIX.


48. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.


49. In UNIX, what does the command “chmod u=r,g=rw,o= file.txt” do?

a) Sets read permission for the owner, read and write permissions for the group, and no permissions for others

b) Sets read and write permissions for the owner, read permission for the group, and read permission for others

c) Sets read permission for the owner, read and write permissions for the group, and read and execute permissions for others

d) Sets read and write permissions for the owner, read permission for the group, and execute permission for others

Answer: a) Sets read permission for the owner, read and write permissions for the group, and no permissions for others

Explanation: The command “chmod u=r,g=rw,o= file.txt” sets read permission for the owner, read and write permissions for the group, and no permissions for others in UNIX.


50. Which command is used to change the owner and group of a file simultaneously in UNIX?

a) chowngrp

b) chown

c) chgrp

d) changeowner

Answer: b) chown

Explanation: The chown command is used to change the owner and group of a file simultaneously in UNIX.

Related Articles

Linux MCQ

Welcome to Linux Multiple Choice Questions (MCQ) Section Embark on a journey through the world of...