mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 14:01:36 +01:00
Merge pull request #400 from dufferzafar/patch-1
Update pacman: command to view top recently installed packages
This commit is contained in:
commit
5a83a22888
@ -27,6 +27,9 @@ pacman -Ql <package name> | sed -n -e 's/.*\/bin\///p' | tail -n +2
|
|||||||
# To list explicitly installed packages
|
# To list explicitly installed packages
|
||||||
pacman -Qe
|
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)
|
# To list orphan packages (installed as dependencies and not required anymore)
|
||||||
pacman -Qdt
|
pacman -Qdt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user