mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
apt-file: simplify page (#21372)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 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:
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- 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