Created
October 31, 2013 16:39
-
-
Save michaelminter/7252874 to your computer and use it in GitHub Desktop.
Determine OS information from command line
This file contains hidden or 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
| cat /proc/version #=> | |
| Linux version 2.6.32.12-rscloud ([email protected]) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #26 SMP Mon May 17 12:35:34 UTC 2010 | |
| uname -a #=> | |
| Linux staging 2.6.32.12-rscloud #26 SMP Mon May 17 12:35:34 UTC 2010 x86_64 GNU/Linux | |
| cat /etc/*version #=> | |
| squeeze/sid | |
| cat /etc/*release #=> | |
| DISTRIB_ID=Ubuntu | |
| DISTRIB_RELEASE=9.10 | |
| DISTRIB_CODENAME=karmic | |
| DISTRIB_DESCRIPTION="Ubuntu 9.10" | |
| goo.gl/ppDhgl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment