From ace145a64dbad916e19c44c4bf020b88b2a4177d Mon Sep 17 00:00:00 2001 From: lhark Date: Fri, 27 Aug 2021 20:18:24 +0200 Subject: [PATCH] More pacman options --- how_to | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/how_to b/how_to index d0d16ca..2acd1ce 100644 --- a/how_to +++ b/how_to @@ -118,7 +118,9 @@ pacman : -Sc Clean packages cache -Rns <> Remove program, its unused dependencies, and config files -Qi <> Package information - -Fo Which package the file belongs to + -Ql <> List files owned by package + -Qo Which package the file belongs to + -Qs <> Search install packages Recover installed packages from /var/log/pacman.log (awk '$3 ~ /installed/{print $4}' /var/log/pacman.log | sort | uniq; sed -En 's@.*/home/lhark/aur/(.*)/.*@\1@p' /var/log/pacman.log) | sort | uniq -u > package-list