1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

pkgfile: fix example and update link (#5821)

This commit is contained in:
Peter Babič 2021-04-28 16:39:51 +02:00 committed by GitHub
parent 48b7458c85
commit d9e0324717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
# pkgfile
> Tool for searching files from packages in the official repositories on arch-based systems.
> See also `pacman files`.
> More information: <https://wiki.archlinux.org/index.php/Pkgfile>.
> See also `pacman files`, describing the usage of `pacman --files`.
> More information: <https://man.archlinux.org/man/extra/pkgfile/pkgfile.1>.
- Synchronize the pkgfile database:
@ -16,7 +16,7 @@
`pkgfile --list {{package_name}}`
- List only files in the `bin` directory provided by a package:
- List only files provided by a package located within the `bin` or `sbin` directory:
`pkgfile --list --binaries {{package_name}}`
@ -24,9 +24,9 @@
`pkgfile --ignorecase {{filename}}`
- Search for a package that owns a specific file in the `bin` directory:
- Search for a package that owns a specific file in the `bin` or `sbin` directory:
`pkgfile --binary {{filename}}`
`pkgfile --binaries {{filename}}`
- Search for a package that owns a specific file, displaying the package version: