Recommended VPS Complete list of best VPS hosting providers.

What OS My VPS is Running On? Here’s How to Check It

Some times you just forgot what Linux Distribution (OS) is installed and running on your VPS or may be you’ve just received your VPS with no information about what OS is running on it. If you are somehow in that situation on what to check it, here it is a list of useful Unix command to check what Linux Distribution is running on your server plsu some more information about version number, release codename, and kernel version.

Check Distribution Name & Version Details

There are several command you can use.

First magic command:

cat /etc/*-release

And here’s sample output:

CentOS:

2015-07-10_143954

Ubuntu:

2015-07-10_145220

Debian:

2015-07-10_145833

Second magic command:

cat /etc/issue

Sample output (screenshot)

CentOS:

2015-07-10_144852

Ubuntu:

2015-07-10_145302

Debian:

2015-07-10_145904

Check Linux VPS Kernel Version

There are two magic command you can use.

First command is:

cat /proc/version

Sample output (screenshot)

CentOS:

2015-07-10_144208

Ubuntu:

2015-07-10_145410

Debian:

2015-07-10_145934

Second command is:

uname -a

Sample output (screenshot)

CentOS:

2015-07-10_144540

Ubuntu:

2015-07-10_145553

Debian:

2015-07-10_150013

That’s all. You may need to bookmark this page as probably you may need it later.

Add a Comment

Your email address will not be published. Required fields are marked *

Get more stuff like this
in your inbox

Subscribe and get interesting stuff plus faster updates to your email.