General Linux Intermediate Process and Service Management Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 15 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which command changes the priority of a running process?

Explanation

The `renice` command changes the scheduling priority of a process that is already running by adjusting its nice value. It can target a process by its process ID, user, or process group. This differs from `nice`, which sets a priority adjustment when starting a new process.

Submit
Please wait...
About This Quiz
General Linux Intermediate Process and Service Management Quiz - Quiz

Test your understanding of Linux process and service management at the intermediate level. This quiz covers process lifecycle, systemd services, signal handling, daemon management, and system resource monitoring. Essential for system administrators and Linux professionals seeking to master core process control and service administration techniques.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which environment variable controls the default process nice value for new processes?

Explanation

Unix-like systems do not define a standard environment variable that sets the default nice value for newly created processes. Nice values are typically set with tools such as `nice` or through process-management and scheduling configuration. The listed variable names are not standard for this purpose.

Submit

3. What command enables a service to start automatically at boot?

Explanation

`systemctl enable` configures a systemd service to start automatically during future boots by linking its unit file into the appropriate startup target. It does not start the service immediately; use `systemctl start` for that, or `systemctl enable --now` to enable and start it at once.

Submit

4. The ____ file in /proc contains information about a specific process's file descriptors.

Explanation

In Linux, `/proc//fd` is a directory containing symbolic links for the file descriptors opened by the process with that process ID. Each link points to the file, socket, pipe, or other resource associated with a particular descriptor number.

Submit

5. Which signal suspends a process execution temporarily?

Explanation

SIGSTOP is a Unix signal that pauses a process without terminating it. The operating system suspends the process’s execution until it receives SIGCONT, which allows it to resume. Unlike signals such as SIGTERM, SIGSTOP cannot be caught, ignored, or handled by the process.

Submit

6. What is the purpose of the Restart= directive in a systemd service file?

Explanation

The `Restart=` directive controls whether and under what conditions systemd automatically restarts a service, such as after a failure or when it exits unexpectedly. It does not specify how often restarts occur or set a restart timeout; those behaviors are configured separately.

Submit

7. The ____ command sends a signal to all processes matching a pattern.

Explanation

`pkill` searches for running processes that match a specified pattern and sends them a signal. By default, it sends `SIGTERM`, requesting that matching processes terminate; an option can specify a different signal. This is a convenient way to signal processes without first looking up their process IDs.

Submit

8. Which file contains systemd service definitions for user-installed services?

Explanation

`/etc/systemd/system/` is the standard location for locally installed or administrator-managed systemd unit files, including service definitions. Units placed there can override vendor-provided units in `/usr/lib/systemd/system/`, making it the appropriate directory for custom system services. After adding or changing a unit, run `systemctl daemon-reload` so systemd recognizes the update.

Submit

9. What does the ps command option 'e' do?

Explanation

The `ps -e` option selects every process visible to the system, rather than limiting the output to processes associated with the current terminal. It is commonly used to get a system-wide process listing.

Submit

10. In systemd, the ____ directive specifies which target the service should reach before starting.

Explanation

In a systemd unit file, `After=` establishes startup ordering: it makes the service start only after the named unit (often a target or another service) has started. It does not by itself cause that unit to be started; use `Wants=` or `Requires=` to add a dependency. This distinction separates ordering from dependency management.

Submit

11. Which command displays all running processes with full details including parent process ID?

Explanation

`ps aux` displays a detailed snapshot of processes for all users, including process IDs, resource usage, status, start time, and command. However, its standard output does not include the parent process ID (PPID). To display PPID explicitly, use `ps -ef` or `ps -eo pid,ppid,...`; the question’s requirement therefore does not match its answer.

Submit

12. A process that runs in the background without a controlling terminal is called a ____.

Explanation

A daemon is a background process that runs without direct user interaction or a controlling terminal. It typically provides services or performs system tasks, such as handling network requests, scheduling jobs, or managing device operations, and may start automatically when the system boots.

Submit

13. What command lists all available systemd units on the system?

Explanation

`systemctl list-units --all` displays all systemd units known to the system, including inactive units. Without `--all`, `systemctl list-units` typically shows only units that are active or have pending jobs.

Submit

14. Which signal gracefully terminates a process and can be caught or ignored?

Explanation

SIGTERM requests that a process terminate, giving it an opportunity to perform cleanup, save data, or release resources. A process can handle this signal with a custom handler or choose to ignore it. In contrast, SIGKILL cannot be caught or ignored and forces immediate termination.

Submit

15. In systemd, what does Type=forking mean in a service file?

Explanation

With `Type=forking`, systemd starts the service and expects its initial process to fork into the background and exit. It then treats the remaining background process as the service’s main process, often using a PID file to identify it.

Submit

16. Which tool provides real-time monitoring of process CPU and memory usage?

Explanation

`top` provides a continuously updating view of running processes, including each process’s CPU and memory usage. It also shows overall system resource use, making it useful for monitoring performance and identifying processes consuming excessive resources in real time.

Submit

17. What does the nice value control in Linux process scheduling?

Explanation

The nice value influences a process’s scheduling priority, affecting how much CPU time it receives relative to other processes. A higher nice value generally means lower priority, while a lower value means higher priority. It does not control memory allocation, file descriptor limits, or signal handling.

Submit

18. Which command reloads systemd configuration without stopping active services?

Explanation

`systemctl daemon-reload` makes systemd reread unit files and rebuild its dependency configuration. It does not stop or restart active services, though changes to a unit file may require restarting that specific service to take effect.

Submit

19. In systemd, what is the purpose of the [Unit] section in a service file?

Explanation

The [Unit] section describes the service and its relationships to other units. It can include metadata such as a description, along with dependency and ordering directives that determine which units must be started or stopped before it.

Submit

20. What signal is sent by the kill command by default when no signal number is specified?

Explanation

When no signal is specified, `kill` sends SIGTERM by default. This signal asks the target process to terminate, allowing it to perform cleanup before exiting. SIGKILL, by contrast, forces immediate termination and cannot be caught or handled.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which command changes the priority of a running process?
Which environment variable controls the default process nice value for...
What command enables a service to start automatically at boot?
The ____ file in /proc contains information about a specific process's...
Which signal suspends a process execution temporarily?
What is the purpose of the Restart= directive in a systemd service...
The ____ command sends a signal to all processes matching a pattern.
Which file contains systemd service definitions for user-installed...
What does the ps command option 'e' do?
In systemd, the ____ directive specifies which target the service...
Which command displays all running processes with full details...
A process that runs in the background without a controlling terminal...
What command lists all available systemd units on the system?
Which signal gracefully terminates a process and can be caught or...
In systemd, what does Type=forking mean in a service file?
Which tool provides real-time monitoring of process CPU and memory...
What does the nice value control in Linux process scheduling?
Which command reloads systemd configuration without stopping active...
In systemd, what is the purpose of the [Unit] section in a service...
What signal is sent by the kill command by default when no signal...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!