From d9e0324717ad0610d052a8f7bb196cf62f4c7207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Wed, 28 Apr 2021 16:39:51 +0200 Subject: [PATCH] pkgfile: fix example and update link (#5821) --- pages/linux/pkgfile.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: