-----------------------------------------------------
1. Uname
The uname command is used to print information about the current system (kernel version number, hardware architecture, host name, operating system type, etc.)
-A or-all: Displays all information;-M or--N or-R or--release: Displays the operating system's release number;-Sor- -- -P or--processor: output processor type or "unknown"-i or--hardware-platform: output hardware platform or " Unknown"-O or--operating----version: Displays version information.
2.lsb_release-a
The Lsb_release command in Linux is used to view the distribution information for the current system (prints certain LSB (Linux standard Base) and distribution information.).
With this command you can clearly know whether the redhat, or other distributions, there is a specific version number, such as 3.4 or 5.4 and so on. Some systems do not necessarily have this command installed, you can get the release information by viewing the/etc/issue file
-----------------------------------------------------
Linux Administration Rollup