Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-07 00:15:45 +00:00
parent 797d626b21
commit 72cd9d9e94
4 changed files with 107 additions and 0 deletions

38
tldr/linux/deb-get Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# deb-get
> `apt-get` functionality for `.deb` packages published in third party repositories or via direct download.
> Works with Linux distributions which use `apt-get`.
> More information: <https://github.com/wimpysworld/deb-get>.
- Update the list of available packages and versions:
`deb-get update`
- Search for a given package:
`deb-get search {{package}}`
- Show information about a package:
`deb-get show {{package}}`
- Install a package, or update it to the latest available version:
`deb-get install {{package}}`
- Remove a package (using `purge` instead also removes its configuration files):
`deb-get remove {{package}}`
- Upgrade all installed packages to their newest available versions:
`deb-get upgrade`
- List all available packages:
`deb-get list`

23
tldr/linux/wofi Normal file
View File

@@ -0,0 +1,23 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# wofi
> An application launcher for wlroots-based Wayland compositors, similar to `rofi` and `dmenu`.
> More information: <https://hg.sr.ht/~scoopta/wofi>.
- Show the list of apps:
`wofi --show drun`
- Show the list of all commands:
`wofi --show run`
- Pipe a list of items to `stdin` and print the selected item to `stdout`:
`printf "{{Choice1
Choice2
Choice3}}" | wofi --dmenu`