Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ubuntu List Packages
#!/bin/bash -e
#
# written by Dr. Abhishek Ghosh
# under GNU GPL 3.0
clear
( zcat $( ls -tr /var/log/apt/history.log*.gz ) ; \
cat /var/log/apt/history.log ) | egrep '^(Start-Date:|Commandline:)' | grep -v aptdaemon | egrep -B1 '^Commandline:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment