The command that kills the process with the PID 123 but allows the process to "clean up" before exiting is:
D. `kill -TERM 123`
Using `kill -TERM` (or simply `kill 123`) sends a termination signal to the process, allowing it to perform cleanup operations and terminate gracefully. This is the standard way to request a process to stop and is not as forceful as `kill -KILL`, which terminates the process abruptly without allowing it to clean up.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DuboisNicolasDuclair
1 year, 4 months ago