From 392fd6b434d7ae7bd583f54d196055a0ffb6f62b Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 8 Mar 2021 16:02:50 -0300 Subject: [PATCH] pacman-files: add page (#5303) --- pages/linux/pacman-files.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/pacman-files.md diff --git a/pages/linux/pacman-files.md b/pages/linux/pacman-files.md new file mode 100644 index 0000000000..99ec30c9ad --- /dev/null +++ b/pages/linux/pacman-files.md @@ -0,0 +1,32 @@ +# pacman --files + +> Arch Linux package manager utility. +> More information: . + +- Display help: + +`pacman --files --help` + +- Update the package database: + +`sudo pacman --files --refresh` + +- Find the package that owns a specific file: + +`pacman --files {{filename}}` + +- Find the package that owns a specific file, using a regular expression: + +`pacman --files --regex '{{search_pattern}}'` + +- List only the package names: + +`pacman --files --quite {{filename}}` + +- List the files owned by a specific package: + +`pacman --files --list {{package_name}}` + +- List only the absolute path to the files: + +`pacman --query --list --quite {{package_name}}`