mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 09:51:36 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`):
|
||||
|
||||
`man {{[-H|--html=]}}{{browser_name}} {{command}}`
|
||||
`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`
|
||||
|
||||
- Display the man page for a command from section 7:
|
||||
|
||||
|
||||
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`shutdown -h 13:00`
|
||||
|
||||
- [c]ancel a pending shutdown/reboot operation:
|
||||
- Cancel a pending shutdown/reboot operation:
|
||||
|
||||
`shutdown -c`
|
||||
|
||||
@@ -8,11 +8,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Troubleshooting tool for tracing system calls.
|
||||
> More information: <https://manned.org/strace>.
|
||||
|
||||
- Start tracing a specific [p]rocess by its PID:
|
||||
- Start tracing a specific process by its PID:
|
||||
|
||||
`strace {{[-p|--attach]}} {{pid}}`
|
||||
|
||||
- Trace a [p]rocess and filter output by system call [e]xpression:
|
||||
- Trace a process and filter output by system call [e]xpression:
|
||||
|
||||
`strace {{[-p|--attach]}} {{pid}} -e {{system_call,system_call2,...}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user