Created
January 27, 2020 04:35
-
-
Save ProjectInitiative/57421bac93af07124f72d0c811990cb4 to your computer and use it in GitHub Desktop.
Returns all of the manually installed programs on a Linux system.
This file contains 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
#!/usr/bin/env bash | |
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment