← BYTES
Troubleshooting·Starter·Ref: 16.1.11
What does the `kill` command do by default (with no signal flag specified)?
Have a question about this video? Mention reference 16.1.11 when you contact us.
a.It immediately force-kills the process with no chance to clean up
b.It only works on processes owned by the root user
c.It permanently deletes the program's executable file from disk
d.It sends SIGTERM, a polite request asking the process to terminate gracefully, giving it a chance to clean up before exiting
`kill <pid>` with no explicit signal sends SIGTERM by default -- a request the target process can catch and handle (closing files, flushing buffers, finishing in-flight work) before exiting, distinct from the un-catchable, immediate `kill -9` (SIGKILL), which should be reserved for a process that doesn't respond to the polite request.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES16111#Troubleshooting