mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 00:49:43 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List the commands and the names of the expected events:
|
||||
|
||||
`trap -p`
|
||||
`trap`
|
||||
|
||||
- Execute a command when a signal is received:
|
||||
|
||||
@@ -23,3 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Remove commands:
|
||||
|
||||
`trap - {{SIGHUP}} {{SIGINT}}`
|
||||
|
||||
- Ignore a signal:
|
||||
|
||||
`trap '' {{SIGINT}}`
|
||||
|
||||
Reference in New Issue
Block a user