Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-01 00:22:32 +00:00
parent a5ee1ec716
commit 2e67fbcfac
9 changed files with 178 additions and 16 deletions

View File

@@ -11,24 +11,24 @@ source: https://github.com/tldr-pages/tldr.git
- Update the package database:
`sudo pacman --files --refresh`
`sudo pacman -Fy`
- Find the package that owns a specific file:
- Find the package that owns a specific [F]ile:
`pacman --files {{filename}}`
`pacman -F {{filename}}`
- Find the package that owns a specific file, using a regular expression:
- Find the package that owns a specific [F]ile, using a regular e[x]pression:
`pacman --files --regex '{{regular_expression}}'`
`pacman -Fx '{{regular_expression}}'`
- List only the package names:
`pacman --files --quiet {{filename}}`
`pacman -Fq {{filename}}`
- List the files owned by a specific package:
- [l]ist the [F]iles owned by a specific package:
`pacman --files --list {{package}}`
`pacman -Fl {{package}}`
- Display help:
- Display [h]elp:
`pacman --files --help`
`pacman -Fh`