Skip to content

Instantly share code, notes, and snippets.

@donaldsteele
Created January 21, 2018 02:35
Show Gist options
  • Save donaldsteele/02be7370f6401e0c6f0b2fdcb6aafab2 to your computer and use it in GitHub Desktop.
Save donaldsteele/02be7370f6401e0c6f0b2fdcb6aafab2 to your computer and use it in GitHub Desktop.
find Installed Software Linux
(zcat $(ls -tr /var/log/apt/history.log*.gz); cat /var/log/apt/history.log) 2>/dev/null |
egrep '^(Start-Date:|Commandline:)' |
grep -v aptdaemon |
egrep '^Commandline:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment