diff --git a/pages/linux/pkgfile.md b/pages/linux/pkgfile.md index f861a0c76..03095cf1a 100644 --- a/pages/linux/pkgfile.md +++ b/pages/linux/pkgfile.md @@ -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: . +> See also `pacman files`, describing the usage of `pacman --files`. +> More information: . - 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: