Created
February 5, 2018 20:38
-
-
Save Mohitsharma44/b93fee8e921461c2543465fea9523291 to your computer and use it in GitHub Desktop.
List of packages installed manually using apt
This file contains hidden or 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
( zcat $( ls -tr /var/log/apt/history.log*.gz ) ; cat /var/log/apt/history.log ) | egrep '^(Start-Date:|Commandline:)' | grep -v aptdaemon | egrep '^Commandline:' | grep -o 'install.*' | cut -f2- -d' ' > installed_packages.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment