Lsb_release-A Query System Version

Source: Internet
Author: User

Address: http://wjpinrain.blogchina.com/930749.html

LSB is short for Linux Standard base. The lsb_release command is used to display information about LSB and specific versions. If this command is used without parameters, the-V parameter is added by default.
-V, -- version
Show version information
-I, -- ID
Display the release ID
-D, -- Description
Displays the description of the release.
-R, -- Release
Displays the release version of the current system.
-C, -- codename
Release code
-A, -- all
Show all the above information
-H, -- Help
Show Help Information
If the current release is LSB compatible, the "/etc/lsb_release" file will contain the lsb_version domain. The value of this field can be a series of supported modules separated by colons. These module names are the modules of the LSB supported by the current version. If the current version is not LSB compatible, do not include this domain.
Optional fields include distrib_id, distrib_release, distrib_codename,
Distrib_description, which can overwrite the content in the/etc/distrib-release file. Note: replace distrib with the current
The name of the release.
If the/etc/lsb-release.d directory exists, the directory looks for the file name and adds it to lsb_version as an additional module version. The/etc/distrib-release file contains descriptions to describe which file names should be analyzed.
The general format is: "distributor release x. x (codename )"
Note: The Debian system lacks the corresponding description information (see/etc/Debian-version). To support the Debian system, most of the information is added to the LSB-release file.
In RedHat and Fedora systems, a parameter is also supported:
-S, -- short
Output brief description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.