Update cheatsheets

This commit is contained in:
ivuorinen
2025-02-02 00:18:34 +00:00
parent 6a2d6bb8c0
commit a3844df520
3 changed files with 72 additions and 1 deletions

34
tldr/linux/paxs Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# paxs
> Manage packages across Yay, Flatpak, and Snap.
> Supports searching, installing, removing, and upgrading packages.
> More information: <https://github.com/zamhedonia/paxs>.
- Search for a package:
`paxs {{search_term}}`
- Upgrade all packages:
`paxs -u`
- Install a package (prompting for the source):
`paxs -i {{package}}`
- Remove a package (prompting for the source):
`paxs -r {{package}}`
- Check for updates across all package managers:
`paxs -c`
- Display help:
`paxs -h`

View File

@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
`ping -O {{host}}`
- Ping a host with specific number of pings, timeout (`-W`) for each reply, and total time limit (`-w`) of the entire ping run:
- Ping a host with specific number of pings, per-packet response timeout (`-W`), and total time limit (`-w`) of the entire ping run:
`ping -c {{count}} -W {{seconds}} -w {{seconds}} {{host}}`

37
tldr/pulumi-env Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pulumi env
> Manage Pulumi environments.
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_env/>.
- List all environments:
`pulumi env ls`
- Create an environment:
`pulumi env init {{environment_name}}`
- Set a value in an environment:
`pulumi env set {{environment_name}} {{key}} {{value}}`
- Edit an environment definition:
`pulumi env edit {{environment_name}}`
- Delete a value from an environment:
`pulumi env rm {{environment_name}} {{key}}`
- Delete an environment entirely:
`pulumi env rm {{environment_name}}`
- Display help:
`pulumi env --help`