mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 20:57:20 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user