Which Linux command is used to change the permissions of a file? MCQ with Answer and Explanation

Which Linux command is used to change the permissions of a file?
A. chown
B. chmod
C. chgrp
D. umask
Answer: Option B
Solution (By JKSSB Mock Tests)
The chmod (change mode) command modifies file permissions (read, write, execute) for owner, group, and others.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which Linux command is used to show the system's current date and time?
A. timedatectl
B. time
C. date
D. clock

Correct Answer: Option C


Explanation:
date displays and sets the system date/time; timedatectl is systemd's tool for date/time management.

This question belongs to: Computer Operating Systems
Question #2
What is the primary difference between UEFI and BIOS?
A. UEFI is a newer firmware standard with a graphical interface and Secure Boot
B. BIOS is for 32-bit systems, UEFI for 64-bit
C. BIOS supports GPT, UEFI supports MBR
D. UEFI is only for Windows, BIOS for Linux

Correct Answer: Option A


Explanation:
UEFI replaces BIOS with advanced features like Secure Boot, faster boot, and support for large disks.

This question belongs to: Computer Operating Systems
Question #3
In Linux, the 'lsblk' command is used to:
A. List mounted file systems
B. List block devices (like disks and partitions) in a tree format
C. Display disk usage
D. Show disk partitions only

Correct Answer: Option B


Explanation:
lsblk shows all block devices, their sizes, and mount points in a hierarchical view.

This question belongs to: Computer Operating Systems