How to check your VPS/Server OS

If you have recently purchased a VPS, but not sure what OS of Linux it is.So here are some of useful Unix commands to check what Linux Distribution is running on your server with additional information about version number, release codename, and kernel version.

Check version details with distribution name

There are several commands you can use:

cat /etc/*-release
cat /etc/issue

Check Linux VPS kernel version

There are two commands we can use:

cat /proc/version
uname -a

That’s all.