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

Which Linux command is used to change the group ownership of a file?
A. groupmod
B. chgrp
C. chown
D. chmod
Answer: Option B
Solution (By JKSSB Mock Tests)
chgrp changes the group ownership of a file or directory; chown can change both owner and group.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following is a type of scheduler that selects the next process to run from the ready queue?
A. I/O scheduler
B. Short-term scheduler (CPU scheduler)
C. Long-term scheduler (job scheduler)
D. Medium-term scheduler

Correct Answer: Option B


Explanation:
The short-term scheduler selects a process from ready queue and dispatches it to the CPU; occurs frequently.

This question belongs to: Computer Operating Systems
Question #2
Which execution environment layer in Android handles core operations like memory management, thread orchestration, and garbage collection for modern apps?
A. Linux Kernel Core
B. Hardware Abstraction Layer
C. Dalvik Cache Engine
D. Android Runtime (ART)

Correct Answer: Option D


Explanation:
ART (Android Runtime) serves as the managed execution environment for modern Android applications, handling execution and garbage collection.

This question belongs to: Computer Operating Systems
Question #3
Which type of booting occurs when the system starts from a powered-off state?
A. Soft boot
B. Warm boot
C. Cold boot
D. Reboot

Correct Answer: Option C


Explanation:
A cold boot is starting the computer from a completely powered-off state, performing full POST and boot sequence.

This question belongs to: Computer Operating Systems