Which command terminates all processes you own on your system except for the login shell?

Basic of linux unix MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Basic of linux unixsoftware-engineering-mcqs › basic-of-linux-unix
Published
7 Apr 2019
Last updated
28 May 2026

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

The 'kill 0' command sends a signal to all processes owned by the current user except the login shell, effectively terminating them. Other options like 'kill 1' target the init process, which is not appropriate for this purpose.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.