mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# chainctl
|
||||
|
||||
> The official CLI for Chainguard.
|
||||
> More information: <https://edu.chainguard.dev/chainguard/chainctl>.
|
||||
> More information: <https://edu.chainguard.dev/chainguard/chainctl/chainctl-docs/chainctl/>.
|
||||
|
||||
- Authenticate to the Chainguard Platform:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Easily create, edit and run self-contained source-only Java programs.
|
||||
> See also: `java`.
|
||||
> More information: <https://www.jbang.dev/documentation/guide/latest/cli/jbang.html>.
|
||||
> More information: <https://www.jbang.dev/documentation/jbang/latest/cli/jbang.html>.
|
||||
|
||||
- Initialize a simple Java class:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# f5fpc
|
||||
|
||||
> A proprietary commercial SSL VPN client by BIG-IP Edge.
|
||||
> More information: <https://techdocs.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-client-configuration-11-4-0/4.html>.
|
||||
> More information: <https://my.f5.com/manage/s/article/K47922841>.
|
||||
|
||||
- Open a new VPN connection:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# numlockx
|
||||
|
||||
> Control the number lock key status in X11 sessions.
|
||||
> More information: <https://www.mike-devlin.com/linux/README-numlockx.htm>.
|
||||
> More information: <https://manned.org/numlockx>.
|
||||
|
||||
- Show the current number lock status:
|
||||
|
||||
|
||||
21
tldr/linux/partclone
Normal file
21
tldr/linux/partclone
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# partclone
|
||||
|
||||
> Copy and restore partitions to and from an image while disregarding empty blocks.
|
||||
> More information: <https://manned.org/a2disconf.8>.
|
||||
|
||||
- Copy a partition into an image:
|
||||
|
||||
`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{/dev/sdXY}} {{[-o|--output]}} {{path/to/backup.img}}`
|
||||
|
||||
- Restore a partition from an image:
|
||||
|
||||
`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{path/to/backup.img}} {{[-o|--output]}} {{/dev/sdXY}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-h|--help]}}`
|
||||
2
tldr/p4
2
tldr/p4
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# p4
|
||||
|
||||
> Perforce Version Control System.
|
||||
> More information: <https://www.perforce.com/manuals/cmdref>.
|
||||
> More information: <https://ftp.perforce.com/perforce/r16.2/doc/manuals/cmdref/>.
|
||||
|
||||
- Log in to the Perforce service:
|
||||
|
||||
|
||||
29
tldr/whence
Normal file
29
tldr/whence
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# whence
|
||||
|
||||
> A Zsh builtin to indicate how a command would be interpreted.
|
||||
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html#index-whence>.
|
||||
|
||||
- Interpret `command`, with expansion if defined as an `alias` (similar to the `command -v` builtin):
|
||||
|
||||
`whence "{{command}}"`
|
||||
|
||||
- Display type of `command`, with location if defined as a function, or binary (equivalent to the `type` and `command -V` builtins):
|
||||
|
||||
`whence -v "{{command}}"`
|
||||
|
||||
- Same as above, except display content of shell functions instead of location (equivalent to `which` builtin):
|
||||
|
||||
`whence -c "{{command}}"`
|
||||
|
||||
- Same as above, but show all occurrences on command path (equivalent to the `where` builtin):
|
||||
|
||||
`whence -ca "{{command}}"`
|
||||
|
||||
- Search only the `PATH` for `command`, ignoring builtins, aliases or shell functions (equivalent to the `where` command):
|
||||
|
||||
`whence -p "{{command}}"`
|
||||
Reference in New Issue
Block a user