Divi WordPress Theme

Topic: How to check Cent OS version from SSH  (Read 9653 times)

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 610
  • iTrader: +153/-0
    • View Profile
How to check Cent OS version from SSH
« on: April 11, 2009, 12:48:59 PM »
If you are not sure about the Cent OS, you can check it from SSH. On SSH console shot out following command:

cat /etc/*release*

It will give you the version details installed on your server.

Kailash
VPS Hosting - AccuWebHosting

Offline digitalpoint

  • New Member
  • *
  • Posts: 45
  • iTrader: +0/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #1 on: April 20, 2009, 09:02:17 AM »
How can I get version details for Red Hat Enterprise server?

Thanks,

$digitalpoint$

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 610
  • iTrader: +153/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #2 on: March 20, 2014, 03:11:04 PM »
Hi,

The same command should work for RedHat Enterprise server as well:

cat /etc/*release*

- Kailash

hmb-willem

Re: How to check Cent OS version from SSH
« Reply #3 on: January 28, 2016, 01:28:48 PM »
You can use following command too

cat /etc/redhat-release

Offline gexacor

  • Newbie
  • *
  • Posts: 6
  • iTrader: +0/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #4 on: July 10, 2016, 02:34:22 PM »
If you are not sure about the Cent OS, you can check it from SSH. On SSH console shot out following command:

cat /etc/*release*

It will give you the version details installed on your server.

Kailash

The standard way to check your Linux version is using 'uname -a' command
Your version is CentOS specific and can give a wrong or no result at another Linux distribution.

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 610
  • iTrader: +153/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #5 on: July 11, 2016, 03:41:16 PM »
The standard way to check your Linux version is using 'uname -a' command
Your version is CentOS specific and can give a wrong or no result at another Linux distribution.
The topic itself, how to check CentOS version and this command does not mean for any other distro. Also, your command is totally wrong. uname -a will give Kernel details not operating system information.

Offline onliveserver

  • New Member
  • *
  • Posts: 26
  • iTrader: +0/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #6 on: February 01, 2018, 12:36:17 PM »
You can check the Centos version via command
cat /etc/redhat-release
In case of other OS, you can check the version via command.
cat /etc/os-release

Offline onliveserver

  • New Member
  • *
  • Posts: 26
  • iTrader: +0/-0
    • View Profile
Re: How to check Cent OS version from SSH
« Reply #7 on: April 02, 2018, 04:44:55 PM »
Hello,

 There is different-2 command to check OS version.
1. cat   /etc/redhat-release (Centos/redhat)
2. cat  /etc/os-release ( All Linux based OS like debian, Fedora, Ubantu,)
Divi WordPress Theme
Tags: