Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-07 00:26:46 +00:00
parent a0a2bbc19d
commit 37dc335613
4 changed files with 74 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apt-file
> Search for files in `apt` packages, including ones not yet installed.
> More information: <https://manned.org/apt-file.1>.
> More information: <https://manned.org/apt-file>.
- Update the metadata database:
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Search for packages that contain the specified file or path:
`apt-file {{search|find}} {{path/to/file}}`
`apt-file {{[find|search]}} {{path/to/file}}`
- List the contents of a specific package:
`apt-file {{show|list}} {{package}}`
`apt-file list {{package}}`
- Search for packages that match the `regex`:
`apt-file {{search|find}} {{[-x|--regexp]}} {{regex}}`
`apt-file {{[find|search]}} {{[-x|--regexp]}} {{regex}}`