Command to find out your Linux Version

Type in Bash:

$ cat /etc/*release*
Fedora release 18 (Spherical Cow)
cat: /etc/lsb-release.d: Is a directory
NAME=Fedora
VERSION="18 (Spherical Cow)"
ID=fedora
VERSION_ID=18
PRETTY_NAME="Fedora 18 (Spherical Cow)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:18"
Fedora release 18 (Spherical Cow)
Fedora release 18 (Spherical Cow)
cpe:/o:fedoraproject:fedora:18

Comments