技术小黑屋

How to Find Out What Linux Distribution You Are Using

How to known what Linux Distribution I am using now.
All right, run this command and you could get what you need in from the output result

1
2
3
4
5
6
7
8
9
10
11
19:12:17-androidyue~/github/octopress (master)$ cat /etc/*-release
Fedora release 17 (Beefy Miracle)
NAME=Fedora
VERSION="17 (Beefy Miracle)"
ID=fedora
VERSION_ID=17
PRETTY_NAME="Fedora 17 (Beefy Miracle)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:17"
Fedora release 17 (Beefy Miracle)
Fedora release 17 (Beefy Miracle)

我的知乎 Live 推荐