Reader Score
[Total: 1 Average: 5]

The procedure to find os name and version on Linux:

  1. Open the terminal application (bash shell)
  2. For remote server login using the ssh: ssh [email protected]
  3. Type any one of the following command to find os name and version in Linux:
    $cat /etc/os-release
    $lsb_release -a
    $hostnamectl
  4. Type the following command to find Linux kernel version:
    $uname -r

/etc/issue file

Use more command/less command as follows:
$ cat /etc/issue
$ more /etc/issue
$ less /etc/issue

Getting help

You can also view the manual page on uname using the following command:
$ man hostnamectl
$ man uname
$ man cat