Which Linux command is used to kill a process by its name? MCQ with Answer and Explanation

Which Linux command is used to kill a process by its name?
A. kill
B. pkill
C. killall
D. term
Answer: Option B
Solution (By JKExamLibrary)
pkill kills processes based on name or other attributes; killall is similar but may behave differently; kill uses PID.

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 structural concept describes a situation where a lower-priority process holds a resource needed by a higher-priority process, stalling execution?
A. Thrashing Cycle
B. Priority Inversion
C. Context Switching Delay
D. Aging Process

Correct Answer: Option B


Explanation:
Priority Inversion occurs when a low-priority task holds a resource required by a high-priority task, causing the high-priority task to wait indirectly.

This question belongs to: Computer Operating Systems
Question #2 Report Error
Which file allocation table structure uses an index block to store pointers to all distinct file data sectors, allowing efficient random access without fragmentation bottlenecks?
A. Contiguous Method
B. Linked Method
C. Linear Block Mapping
D. Indexed Allocation

Correct Answer: Option D


Explanation:
Indexed allocation consolidates all block pointers into a single dedicated index block, enabling direct access to any block without linear scanning.

This question belongs to: Computer Operating Systems
Question #3 Report Error
What is the purpose of the Android 'Download Manager'?
A. To prioritize download speed
B. To handle long-running downloads in the background
C. To scan downloads for malware
D. To manage files in the Downloads folder

Correct Answer: Option B


Explanation:
Download Manager runs background downloads, supports pause/resume, and notifies user upon completion.

This question belongs to: Computer Operating Systems