this post was submitted on 15 Jul 2023
1978 points (98.3% liked)
Technology
59039 readers
3323 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
More specifically kill normally sends a SIGTERM which is the equivalent of clicking the X button in Windows. It's a polite request that the program close itself. Signal 9, also known as SIGKILL shuts the program down immediately and is the equivalent in Windows of opening the task manager and pushing the end process button. It terminates the program immediately without giving it any time to do anything it might still have pending, but in the event that the program is unresponsive might be the only way to successfully close it.
TIL. And thanks for the Windows analogues. I like learning about stuff like this.