โ† All Linux Flashcard Decks

Process Management Flashcards

7 cards from real Linux practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Process Management flashcards as text
  1. Which signal is sent to a process when you press Ctrl+C in the terminal?

    Answer: SIGINT (2)

    Ctrl+C sends SIGINT (signal 2), which requests the process to interrupt and terminate gracefully.

  2. What does the 'nice' value range from in Linux?

    Answer: -20 to 19

    Linux nice values range from -20 (highest priority) to 19 (lowest priority), with 0 as the default.

  3. Which command changes the nice value of a currently running process?

    Answer: renice

    renice adjusts the scheduling priority of an already-running process by its PID.

  4. What is a zombie process?

    Answer: A terminated process whose exit status hasn't been collected by its parent

    A zombie (defunct) process has exited but remains in the process table because its parent hasn't called wait() to collect its exit status.

  5. Which /proc entry shows the command-line arguments used to launch a process with PID 1234?

    Answer: /proc/1234/cmdline

    /proc/PID/cmdline contains the full command line used to start the process, with arguments separated by null bytes.

  6. What happens to orphan processes (whose parent has died) in Linux?

    Answer: They are adopted by init/systemd (PID 1)

    When a parent process dies before its children, the orphaned children are re-parented to PID 1 (init or systemd).

  7. Which command sends a signal to all processes matching a given name?

    Answer: pkill

    pkill sends a signal to processes matching a name pattern, while kill requires an explicit PID.