Many times you get access to a Unix or Linux box via terminal. Before start using the terminal, you may want to know the Unix flavor. This article will help you with
Since Linux is an open source operating system and comes free unless using enterprise one. There are many variants of Linux available. They are typically called Linux distribution. Suse, OpenSUSE, Debian, Ubuntu, CentOS, Arch, Fedora, RHEL all are common Linux distribution names. Knowing your os version and name can be very useful for security patches.
Steps To find OS Name & Linux Version
- Open the terminal application (bash shell)
- For remote server login using the ssh: ssh user@server-name
- Type any one of the following command to find os name and version in Linux:
- Type the following command to find Linux kernel version:
The lsb_release command gives LSB (Linux Standard Base) and distribution-specific information on the CLI. The syntax is: