mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 15:50:43 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user