How to check what system version centos is?

WBOY
Release: 2022-04-01 16:58:09
Original
9722 people have browsed it

Method: 1. Use the "uname -a" command, which can display all the information of the system; 2. Use the "uname -r" command, which can display the release number of the operating system; 3. Use "lsb_release -a" command, this command can display all the basic information of the system.

How to check what system version centos is?

The operating environment of this article: centos 6.5 system, Dell G3 computer.

How to check the system version of centos

Method 1: uname -a

Linux uname (English full spelling: unix name) command is used to display system message.

uname can display information about the computer and operating system.

Syntax

uname [-amnrsv][--help][--version]
Copy after login

Parameter description:

  • -a or --all Display all information.

  • -m or --machine Displays the computer type.

  • -n or --nodename The host name displayed on the network.

  • -r or --release Display the release number of the operating system.

  • -s or --sysname Display the operating system name.

  • -v Displays the operating system version.

  • --help Display help.

  • --version Display version information.

How to check what system version centos is?

Method 2: uname -r

How to check what system version centos is?

Method 3: lsb_release -a

LSB is the abbreviation of Linux Standard Base. The lsb_release command is used to display LSB and specific version-related information. If this command is used without parameters, the -v parameter is added by default.

Syntax format

lsb_release [参数]
Copy after login

Common parameters:

  • -i Display the system name abbreviation

  • -d Display the full system name and version number

  • -r Display the version number

  • -a Display all LSB information

How to check what system version centos is?

Recommended tutorial: "centos tutorial"

The above is the detailed content of How to check what system version centos is?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!