mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 01:48:22 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mount.ddi
|
||||
|
||||
> Mount Discoverable Disk Images.
|
||||
> See `tldr systemd-dissect` for other commands relevant to DDIs.
|
||||
> See also: `systemd-dissect` for other commands relevant to DDIs.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-dissect.html>.
|
||||
|
||||
- Mount an OS image:
|
||||
|
||||
@@ -13,22 +13,30 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`pw-dot`
|
||||
|
||||
- Specify an output file, showing all object types:
|
||||
- Read objects from `pw-dump` JSON file:
|
||||
|
||||
`pw-dot --output {{path/to/file.dot}} --all`
|
||||
`pw-dot {{-j|--json}} {{path/to/file.json}}`
|
||||
|
||||
- Specify an [o]utput file, showing [a]ll object types:
|
||||
|
||||
`pw-dot --output {{path/to/file.dot}} {{-a|--all}}`
|
||||
|
||||
- Print `.dot` graph to `stdout`, showing all object properties:
|
||||
|
||||
`pw-dot --output - --detail`
|
||||
`pw-dot --output - {{-d|--detail}}`
|
||||
|
||||
- Generate a graph from a remote instance, showing only linked objects:
|
||||
- Generate a graph from a [r]emote instance, showing only linked objects:
|
||||
|
||||
`pw-dot --remote {{remote_name}} --smart`
|
||||
`pw-dot --remote {{remote_name}} {{-s|--smart}}`
|
||||
|
||||
- Lay the graph from left to right, instead of dot's default top to bottom:
|
||||
- Lay the graph from [l]eft to [r]ight, instead of dot's default top to bottom:
|
||||
|
||||
`pw-dot --lr`
|
||||
`pw-dot {{-L|--lr}}`
|
||||
|
||||
- Lay the graph using 90-degree angles in edges:
|
||||
|
||||
`pw-dot --90`
|
||||
`pw-dot {{-9|--90}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pw-dot --help`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# setcap
|
||||
|
||||
> Set capabilities of specified file.
|
||||
> See also: `tldr getcap`.
|
||||
> See also: `getcap`.
|
||||
> More information: <https://manned.org/setcap>.
|
||||
|
||||
- Set capability `cap_net_raw` (to use RAW and PACKET sockets) for a given file:
|
||||
|
||||
Reference in New Issue
Block a user