apt-file: simplify page (#21372)

This commit is contained in:
Managor
2026-03-06 11:09:52 +07:00
committed by GitHub
parent 10cb4af5c2
commit 1cf453f6c0
+4 -4
View File
@@ -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}}`