this post was submitted on 15 Jul 2023
2019 points (98.4% liked)
Technology
59958 readers
3831 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
"kill" (stopping a software process) okay,
... but what's the "-9" here ?
Kill is the main command and 9 is the specific signal. Google SIGKILL
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.