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:
33
tldr/bpkg
Normal file
33
tldr/bpkg
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bpkg
|
||||
|
||||
> A package manager for Bash scripts.
|
||||
> More information: <https://github.com/bpkg/bpkg>.
|
||||
|
||||
- Update the local index:
|
||||
|
||||
`bpkg update`
|
||||
|
||||
- Install a package globally:
|
||||
|
||||
`bpkg install --global {{package}}`
|
||||
|
||||
- Install a package in a subdirectory of the current directory:
|
||||
|
||||
`bpkg install {{package}}`
|
||||
|
||||
- Install a specific version of a package globally:
|
||||
|
||||
`bpkg install {{package}}@{{version}} -g`
|
||||
|
||||
- Show details about a specific package:
|
||||
|
||||
`bpkg show {{package}}`
|
||||
|
||||
- Run a command, optionally specifying its arguments:
|
||||
|
||||
`bpkg run {{command}} {{argument1 argument2 ...}}`
|
||||
17
tldr/linux/waypipe
Normal file
17
tldr/linux/waypipe
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# waypipe
|
||||
|
||||
> Remotely run graphical applications under a Wayland compositor.
|
||||
> More information: <https://gitlab.freedesktop.org/mstoeckl/waypipe>.
|
||||
|
||||
- Run a graphical program remotely and display it locally:
|
||||
|
||||
`waypipe ssh {{user}}@{{server}} {{program}}`
|
||||
|
||||
- Open an SSH tunnel to run any program remotely and display it locally:
|
||||
|
||||
`waypipe ssh {{user}}@{{server}}`
|
||||
@@ -8,15 +8,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> An HTTP reverse proxy and load balancer.
|
||||
> More information: <https://traefik.io>.
|
||||
|
||||
- Start server with default config:
|
||||
- Start the server with the default configuration:
|
||||
|
||||
`traefik`
|
||||
|
||||
- Start server with a custom configuration file:
|
||||
- Start the server with a custom configuration file:
|
||||
|
||||
`traefik --c {{config_file.toml}}`
|
||||
`traefik --ConfigFile {{config_file.toml}}`
|
||||
|
||||
- Start server with cluster mode enabled:
|
||||
- Start the server with cluster mode enabled:
|
||||
|
||||
`traefik --cluster`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user