Created
December 21, 2017 17:39
-
-
Save dmandrade/fbc7f9e3effbf0fe1589b7d96e2d3ba4 to your computer and use it in GitHub Desktop.
List recently installed package-names in one line
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
This results in a single line of package names that can be easily added to a sudo apt-get purge command. | |
cat /var/log/dpkg.log |awk '/ install / {printf "%s ",$4 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment