Skip to content

Instantly share code, notes, and snippets.

@fukaoi
Created February 4, 2018 06:03
Show Gist options
  • Save fukaoi/494af741c1223e2497dfe147a6f7ee4f to your computer and use it in GitHub Desktop.
Save fukaoi/494af741c1223e2497dfe147a6f7ee4f to your computer and use it in GitHub Desktop.
Collect ubuntu installed package
sudo apt list --installed | grep -o -E "([a-z.0-9-]+)/" | grep -o -E "9-]+" | perl -pe 's/\n/ /g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment