Skip to content

Instantly share code, notes, and snippets.

@pelegm
Last active August 29, 2015 14:18
Show Gist options
  • Save pelegm/6df96c0a14e95b4a68ef to your computer and use it in GitHub Desktop.
Save pelegm/6df96c0a14e95b4a68ef to your computer and use it in GitHub Desktop.
ubuntu-version
#!/usr/bin/python
import lsb_release
print lsb_release.get_lsb_information()['RELEASE']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment