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

Which Linux command is used to change the ownership of a file?
A. chattr
B. chmod
C. chgrp
D. chown
Answer: Option D
Solution (By JKExamLibrary)
chown changes the owner and/or group of a file or directory.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1 Report Error
Which of the following components of an Operating System remains permanently in the main memory (RAM) during the entire computer session?
A. Device Driver
B. Application Software
C. Kernel
D. Compiler

Correct Answer: Option C


Explanation:
The kernel is the core component of an Operating System that is loaded into the main memory during booting and remains there until the system is shut down.

This question belongs to: Computer Operating Systems
Question #2 Report Error
In Windows, the 'Snipping Tool' is used for:
A. Recording screen video
B. Creating GIFs
C. Capturing screenshots
D. Editing images

Correct Answer: Option C


Explanation:
Snipping Tool captures screen regions; newer Windows has Snip & Sketch.

This question belongs to: Computer Operating Systems
Question #3 Report Error
What does 'Internal Fragmentation' mean in paging-based memory management?
A. Disk sector corruption within swap files.
B. Total breakdown of memory allocation tracking registers.
C. When two distinct programs try to overwrite the same RAM register.
D. Unused space left over at the end of an allocated memory block or page frame.

Correct Answer: Option D


Explanation:
Internal fragmentation happens when memory is allocated in fixed-size blocks (like pages), and a process requests less memory than the block size, leaving the remainder wasted inside that block.

This question belongs to: Computer Operating Systems