mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 15:47:47 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Identify processes using a TCP socket:
|
||||
|
||||
`fuser {{[-n|--namespace]}} tcp {{port}}`
|
||||
`fuser {{port}}/tcp`
|
||||
|
||||
- Kill all processes accessing a file or directory (sends the `SIGKILL` signal):
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lrunzip
|
||||
|
||||
> This command is an alias of `lrzip -d`.
|
||||
> This command is an alias of `lrzip --decompress`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
|
||||
@@ -15,20 +15,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Compress a file with BZIP2 - good middle ground for compression/speed:
|
||||
|
||||
`lrzip -b {{path/to/file}}`
|
||||
`lrzip {{[-b|--bzip2]}} {{path/to/file}}`
|
||||
|
||||
- Compress with ZPAQ - extreme compression, but very slow:
|
||||
|
||||
`lrzip -z {{path/to/file}}`
|
||||
`lrzip {{[-z|--zpaq]}} {{path/to/file}}`
|
||||
|
||||
- Compress with LZO - light compression, extremely fast decompression:
|
||||
|
||||
`lrzip -l {{path/to/file}}`
|
||||
`lrzip {{[-l|--lzo]}} {{path/to/file}}`
|
||||
|
||||
- Compress a file and password protect/encrypt it:
|
||||
|
||||
`lrzip -e {{path/to/file}}`
|
||||
`lrzip {{[-e|--encrypt]}} {{path/to/file}}`
|
||||
|
||||
- Override the number of processor threads to use:
|
||||
|
||||
`lrzip -p {{8}} {{path/to/file}}`
|
||||
`lrzip {{[-p|--threads]}} {{8}} {{path/to/file}}`
|
||||
|
||||
@@ -15,16 +15,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Same as above, with ZPAQ - extreme compression, but very slow:
|
||||
|
||||
`lrztar -z {{path/to/directory}}`
|
||||
`lrztar {{[-z|--zpaq]}} {{path/to/directory}}`
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`lrztar -o {{path/to/file}} {{path/to/directory}}`
|
||||
`lrztar {{[-o|--outfile]}} {{path/to/file}} {{path/to/directory}}`
|
||||
|
||||
- Override the number of processor threads to use:
|
||||
|
||||
`lrztar -p {{8}} {{path/to/directory}}`
|
||||
`lrztar {{[-p|--threads]}} {{8}} {{path/to/directory}}`
|
||||
|
||||
- Force overwriting of existing files:
|
||||
|
||||
`lrztar -f {{path/to/directory}}`
|
||||
`lrztar {{[-f|--force]}} {{path/to/directory}}`
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lrzuntar
|
||||
|
||||
> This command is an alias of `lrztar -d`.
|
||||
> This command is an alias of `lrztar --decompress`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Some subcommands such as `create` have their own usage documentation.
|
||||
> More information: <https://manned.org/toolbox>.
|
||||
|
||||
- Enter a container to use it interactively:
|
||||
- Enter a Toolbx container to use it interactively:
|
||||
|
||||
`toolbox enter {{container}}`
|
||||
|
||||
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`toolbox rmi {{image1 image2 ...}}`
|
||||
|
||||
- Display help for a specific subcommand (such as `create`, `enter`, `rm`, `rmi`, etc.):
|
||||
- Display help for a specific subcommand (such as `create`, `enter`, `rm`, etc.):
|
||||
|
||||
`toolbox help {{subcommand}}`
|
||||
|
||||
|
||||
@@ -5,25 +5,25 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox create
|
||||
|
||||
> Create a new `toolbox` container.
|
||||
> Create a new Toolbx container.
|
||||
> More information: <https://manned.org/toolbox-create>.
|
||||
|
||||
- Create a `toolbox` container for a specific distribution:
|
||||
- Create a Toolbx container for a specific distribution:
|
||||
|
||||
`toolbox create {{[-d|--distro]}} {{distribution}}`
|
||||
|
||||
- Create a `toolbox` container for a specific release of the current distribution:
|
||||
- Create a Toolbx container for a specific release of the current distribution:
|
||||
|
||||
`toolbox create {{[-r|--release]}} {{release}}`
|
||||
|
||||
- Create a `toolbox` container with a custom image:
|
||||
- Create a Toolbx container with a custom image:
|
||||
|
||||
`toolbox create {{[-i|--image]}} {{name}}`
|
||||
|
||||
- Create a `toolbox` container from a custom Fedora image:
|
||||
- Create a Toolbx container from a custom Fedora image:
|
||||
|
||||
`toolbox create {{[-i|--image]}} {{quay.io/fedora/fedora:tag}}`
|
||||
|
||||
- Create a `toolbox` container using the default image for a specific Fedora release:
|
||||
- Create a Toolbx container using the default image for a specific Fedora release:
|
||||
|
||||
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}}`
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox enter
|
||||
|
||||
> Enter a `toolbox` container for interactive use.
|
||||
> Enter a Toolbx container for interactive use.
|
||||
> See also: `toolbox run`.
|
||||
> More information: <https://manned.org/toolbox-enter>.
|
||||
|
||||
- Enter a `toolbox` container using the default image of a specific distribution:
|
||||
- Enter a Toolbx container using the default image of a specific distribution:
|
||||
|
||||
`toolbox enter {{[-d|--distro]}} {{distribution}}`
|
||||
|
||||
- Enter a `toolbox` container using the default image of a specific release of the current distribution:
|
||||
- Enter a Toolbx container using the default image of a specific release of the current distribution:
|
||||
|
||||
`toolbox enter {{[-r|--release]}} {{release}}`
|
||||
|
||||
- Enter a toolbox container using the default image for a specific Fedora release:
|
||||
- Enter a Toolbx container using the default image for a specific Fedora release:
|
||||
|
||||
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}}`
|
||||
|
||||
@@ -5,13 +5,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox help
|
||||
|
||||
> Display help information about `toolbox`.
|
||||
> Display help information about Toolbx.
|
||||
> More information: <https://manned.org/toolbox-help>.
|
||||
|
||||
- Display the `toolbox` manual:
|
||||
- Display the Toolbx manual:
|
||||
|
||||
`toolbox help`
|
||||
|
||||
- Display the `toolbox` manual for a specific subcommand:
|
||||
- Display the Toolbx manual for a specific subcommand:
|
||||
|
||||
`toolbox help {{subcommand}}`
|
||||
|
||||
@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox init-container
|
||||
|
||||
> Initialize a running `toolbox` container.
|
||||
> Initialize a running Toolbx container.
|
||||
> This command should not be executed by the user, and cannot be run on the host.
|
||||
> More information: <https://manned.org/toolbox-init-container>.
|
||||
|
||||
- Initialize a running toolbox:
|
||||
- Initialize a running Toolbx container:
|
||||
|
||||
`toolbox init-container --gid {{gid}} --home {{home}} --home-link --media-link --mnt-link --monitor-host --shell {{shell}} --uid {{uid}} --user {{user}}`
|
||||
|
||||
@@ -5,17 +5,17 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox list
|
||||
|
||||
> List existing `toolbox` containers and images.
|
||||
> List existing Toolbx containers and images.
|
||||
> More information: <https://manned.org/toolbox-list>.
|
||||
|
||||
- List all `toolbox` containers and images:
|
||||
- List all Toolbx containers and images:
|
||||
|
||||
`toolbox list`
|
||||
|
||||
- List only `toolbox` containers:
|
||||
- List only Toolbx containers:
|
||||
|
||||
`toolbox list {{[-c|--containers]}}`
|
||||
|
||||
- List only `toolbox` images:
|
||||
- List only Toolbx images:
|
||||
|
||||
`toolbox list {{[-i|--images]}}`
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox rm
|
||||
|
||||
> Remove one or more `toolbox` containers.
|
||||
> Remove one or more Toolbx containers.
|
||||
> See also: `toolbox rmi`.
|
||||
> More information: <https://manned.org/toolbox-rm>.
|
||||
|
||||
- Remove a toolbox container:
|
||||
- Remove a Toolbx container:
|
||||
|
||||
`toolbox rm {{container_name}}`
|
||||
|
||||
- Remove all `toolbox` containers:
|
||||
- Remove all Toolbx containers:
|
||||
|
||||
`toolbox rm {{[-a|--all]}}`
|
||||
|
||||
- Force the removal of a currently active `toolbox` container:
|
||||
- Force the removal of a currently active Toolbx container:
|
||||
|
||||
`toolbox rm {{[-f|--force]}} {{container_name}}`
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox rmi
|
||||
|
||||
> Remove `toolbox` images.
|
||||
> Remove Toolbx images.
|
||||
> See also: `toolbox rm`.
|
||||
> More information: <https://manned.org/toolbox-rmi>.
|
||||
|
||||
- Remove one or more `toolbox` image:
|
||||
- Remove one or more Toolbx image:
|
||||
|
||||
`toolbox rmi {{image_name1 image_name2 ...}}`
|
||||
|
||||
- Remove all `toolbox` images:
|
||||
- Remove all Toolbx images:
|
||||
|
||||
`toolbox rmi {{[-a|--all]}}`
|
||||
|
||||
- Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well):
|
||||
- Force the removal of a Toolbx image which is currently being used by a container (the container will be removed as well):
|
||||
|
||||
`toolbox rmi {{[-f|--force]}} {{image_name}}`
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# toolbox run
|
||||
|
||||
> Run a command in an existing `toolbox` container.
|
||||
> Run a command in an existing Toolbx container.
|
||||
> See also: `toolbox enter`.
|
||||
> More information: <https://manned.org/toolbox-run>.
|
||||
|
||||
- Run a command inside a specific `toolbox` container:
|
||||
- Run a command inside a specific Toolbx container:
|
||||
|
||||
`toolbox run {{[-c|--container]}} {{container_name}} {{command}}`
|
||||
|
||||
- Run a command inside a `toolbox` container for a specific release of a distribution:
|
||||
- Run a command inside a Toolbx container for a specific release of a distribution:
|
||||
|
||||
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
|
||||
|
||||
- Run `emacs` inside a `toolbox` container using the default image for a specific Fedora release:
|
||||
- Run `emacs` inside a Toolbx container using the default image for a specific Fedora release:
|
||||
|
||||
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} f{{version}} {{emacs}}`
|
||||
|
||||
Reference in New Issue
Block a user