Skip to content

Instantly share code, notes, and snippets.

@jeanpimentel
Forked from lucasmezencio/gist:2629006
Created May 7, 2012 17:07
Show Gist options
  • Save jeanpimentel/2629008 to your computer and use it in GitHub Desktop.
Save jeanpimentel/2629008 to your computer and use it in GitHub Desktop.
Which Linux Distro?
$ cat /etc/redhat-release #will show you information for red hat based distros.
$ cat /etc/SuSE-release #for SUSE based distros.
$ cat /etc/mandrake-release #for mandrake distros.
$ cat /etc/debian_version #for debian based distros.
$ cat /etc/UnitedLinux-release #might also return some more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment