diff --git a/pages/linux/pacman-f.md b/pages/linux/pacman-f.md new file mode 100644 index 00000000000000..81adbe8a1f2f8b --- /dev/null +++ b/pages/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> This command is an alias of `pacman --files`. + +- View documentation for the original command: + +`tldr pacman files` diff --git a/pages/linux/pacman-files.md b/pages/linux/pacman-files.md index 165c2a0f5e29ac..e0e4a8aa59d41d 100644 --- a/pages/linux/pacman-files.md +++ b/pages/linux/pacman-files.md @@ -6,24 +6,24 @@ - Update the package database: -`sudo pacman --files --refresh` +`sudo pacman -Fy` -- Find the package that owns a specific file: +- Find the package that owns a specific [F]ile: -`pacman --files {{filename}}` +`pacman -F {{filename}}` -- Find the package that owns a specific file, using a regular expression: +- Find the package that owns a specific [F]ile, using a regular e[x]pression: -`pacman --files --regex '{{regular_expression}}'` +`pacman -Fx '{{regular_expression}}'` - List only the package names: -`pacman --files --quiet {{filename}}` +`pacman -Fq {{filename}}` -- List the files owned by a specific package: +- [l]ist the [F]iles owned by a specific package: -`pacman --files --list {{package}}` +`pacman -Fl {{package}}` -- Display help: +- Display [h]elp: -`pacman --files --help` +`pacman -Fh` diff --git a/scripts/wrong-filename.sh b/scripts/wrong-filename.sh index d8537fff7e8ffe..941bcd248019f8 100755 --- a/scripts/wrong-filename.sh +++ b/scripts/wrong-filename.sh @@ -10,7 +10,7 @@ OUTPUT_FILE="inconsistent-filenames.txt" rm -f "$OUTPUT_FILE" touch "$OUTPUT_FILE" -IGNORE_LIST=("exclamation mark" "caret" "dollar sign" "tilde" "history expansion" "qm move disk" "umount" "rename" "pacman r" "pacman s") +IGNORE_LIST=("exclamation mark" "caret" "dollar sign" "tilde" "history expansion" "qm move disk" "umount" "rename" "pacman f" "pacman r" "pacman s") set -e