Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-18 00:24:29 +00:00
parent ce240b2f02
commit 01e38ccf44
9 changed files with 189 additions and 16 deletions

View File

@@ -23,20 +23,20 @@ source: https://github.com/tldr-pages/tldr.git
- Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating:
`kill -{{1|HUP}} {{process_id}}`
`kill {{[-1|-HUP]}} {{process_id}}`
- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`:
`kill -{{2|INT}} {{process_id}}`
`kill {{[-2|-INT]}} {{process_id}}`
- Signal the operating system to immediately terminate a program (which gets no chance to capture the signal):
`kill -{{9|KILL}} {{process_id}}`
`kill {{[-9|-KILL]}} {{process_id}}`
- Signal the operating system to pause a program until a SIGCONT ("continue") signal is received:
`kill -{{17|STOP}} {{process_id}}`
`kill {{[-19|-STOP]}} {{process_id}}`
- Send a `SIGUSR1` signal to all processes with the given GID (group id):
`kill -{{SIGUSR1}} -{{group_id}}`
`kill -SIGUSR1 -{{group_id}}`