Created
October 20, 2016 14:14
-
-
Save hxmuller/37a5879912a77dbb9e230b81734dc70e to your computer and use it in GitHub Desktop.
list Raspbian bootstrapped packages
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
# sed - stream editor for filtering and transforming text | |
# -n suppress automatic printing of pattern space | |
# cut - remove sections from each line of files | |
# -f select only these fields | |
# -d use DELIM instead of TAB for field delimiter | |
# awk - pattern scanning and text processing language | |
sed -n '/Setting up/p' /var/log/bootstrap.log | cut -f3 -d' ' | awk '!arr[$0]++' > filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment