Skip to content

Instantly share code, notes, and snippets.

@beng
Created December 2, 2014 21:03
Show Gist options
  • Save beng/4e95c4e0cafe85bb6eef to your computer and use it in GitHub Desktop.
Save beng/4e95c4e0cafe85bb6eef to your computer and use it in GitHub Desktop.
A way to find all the stuff you manually installed on ubuntu via apt-get as found here: http://askubuntu.com/a/250530
(zcat $( ls -tr /var/log/apt/history.log*.gz ) ; cat /var/log/apt/history.log ) | 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