Created
July 4, 2023 17:06
-
-
Save victorbrca/84a8aee26e21ce67b8313e1579d4a9c4 to your computer and use it in GitHub Desktop.
Shows RPM packages by install date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
printf '%-51s%s\n' 'PACKAGE NAME' 'DATE' | |
printf '%0.s=' $(seq 1 50) | |
printf ' ' | |
printf '%0.s=' $(seq 1 32) | |
printf '\n' | |
rpm -qa --qf '%{INSTALLTIME} %-50{NAME} %{INSTALLTIME:date}\n' | sort -nr | cut -d' ' -f2- | |
} | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment