Skip to content

Instantly share code, notes, and snippets.

@0xd61
Created September 25, 2019 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xd61/cc3165c1b7ed21077f78b505336eb559 to your computer and use it in GitHub Desktop.
Save 0xd61/cc3165c1b7ed21077f78b505336eb559 to your computer and use it in GitHub Desktop.
Bash Oneliners
# List all installed packages with size
xbps-query -m | while read PKG; do xbps-query $PKG | awk '$1 ~ /pkgver|installed_size/ {printf "%s ", $2}'; printf "\n"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment