m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pacman.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/pacman.md b/pacman.md
index e6d8cd0..133adfd 100644
--- a/pacman.md
+++ b/pacman.md
@@ -41,6 +41,22 @@ there and remove the .pacnew suffix)
By itself, outputs all installed packages.
-## Browsing installed packages with `fzf`
+### Browsing installed packages with `fzf`
pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
+
+## Files (-F)
+
+Query the files database.
+
+Download/update database:
+
+ pacman -Fy
+
+Lists packages that contain `file`:
+
+ pacman -F <file>
+
+List files contained in `package`:
+
+ pacman -Fl <package>