mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 22:53:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
> High-level tracing language for Linux eBPF.
|
> High-level tracing language for Linux eBPF.
|
||||||
> More information: <https://github.com/bpftrace/bpftrace/blob/master/man/adoc/bpftrace.adoc>.
|
> More information: <https://github.com/bpftrace/bpftrace/blob/master/man/adoc/bpftrace.adoc>.
|
||||||
|
|
||||||
- Display bpftrace version:
|
|
||||||
|
|
||||||
`bpftrace {{[-V|--version]}}`
|
|
||||||
|
|
||||||
- List all available probes:
|
- List all available probes:
|
||||||
|
|
||||||
`sudo bpftrace -l`
|
`sudo bpftrace -l`
|
||||||
@@ -31,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Do a dry run and display the output in eBPF format:
|
- Do a dry run and display the output in eBPF format:
|
||||||
|
|
||||||
`sudo bpftrace -d -e '{{one_line_program}}'`
|
`sudo bpftrace -d -e '{{one_line_program}}'`
|
||||||
|
|
||||||
|
- Display version:
|
||||||
|
|
||||||
|
`bpftrace {{[-V|--version]}}`
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Flash an ISO to a drive without entering the hash interactively:
|
- Flash an ISO to a drive without entering the hash interactively:
|
||||||
|
|
||||||
`caligula burn {{path/to/image.iso}} {{[s|--hash]}} {{hash}}`
|
`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}`
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Remove all ACL entries of a file:
|
- Remove all ACL entries of a file:
|
||||||
|
|
||||||
`setfacl {{[-X|--remove-all]}} {{path/to/file_or_directory}}`
|
`setfacl {{[-b|--remove-all]}} {{path/to/file_or_directory}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user