From 62a2bf3c2d42499abbd1203c05b5fc22a4eeb68a Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Mon, 1 Oct 2018 12:34:46 +0530 Subject: [PATCH] Update pacman --- cheat/cheatsheets/pacman | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/pacman b/cheat/cheatsheets/pacman index cb51fc6..9312fe1 100644 --- a/cheat/cheatsheets/pacman +++ b/cheat/cheatsheets/pacman @@ -27,6 +27,9 @@ pacman -Ql | sed -n -e 's/.*\/bin\///p' | tail -n +2 # To list explicitly installed packages pacman -Qe +# To list the top-most recent explicitly installed packages (not in the base groups) +expac --timefmt='%Y-%m-%d %T' '%l\t%n' $(comm -23 <(pacman -Qeq|sort) <(pacman -Qqg base base-devel|sort)) | sort -r | head -20 + # To list orphan packages (installed as dependencies and not required anymore) pacman -Qdt