Skip to content

Instantly share code, notes, and snippets.

@shvelo
Last active December 28, 2015 21:19
Show Gist options
  • Save shvelo/7563808 to your computer and use it in GitHub Desktop.
Save shvelo/7563808 to your computer and use it in GitHub Desktop.
Get distribution name from shell
grep -Po "DISTRIB_ID=(\K.*)" /etc/lsb-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment