In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what is the use of the lsb_release command in Linux. It has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.
The lsb_release command is used to display LSB and version specific information.
lsb_release Displays release information
If this command is used without parameters, the-v parameter is added by default.
-v Displays version information. -i Displays the id of the release. -d Displays descriptive information about the release. -r Indicates the specific version number of the current system release. -c Release code. -a Displays all the information above. -h Displays help information. If the current release is LSB compliant, the/etc/lsb_release file contains the LSB_VERSION field. The value of this field can be a list of supported modules separated by colons. These module names are the module names of the LSBs supported by the current release. Do not include this field if the current version is not LSB compliant.
Optional fields include DISTRB_ID, DISTRB_RELEASE, DISTRB_CODENAME, DISTRB_DESCRIPTION, which can override the contents of the/etc/distribut-release file. Note: Distrib here should be replaced with the name of the current distribution. If the directory/etc/lsb-release.d exists, the filename is looked up in that directory and prepended to LSB_VERSION as an additional module version. The file/etc/distribut-release contains descriptive information about which file names should be parsed.
The general format is Distributor release x.x (Codename) Note: Debian lacks descriptive information (see/etc/debian-version), and most of the information is added to the lsb-release file to support Debian.
Redhat and fedora systems also support one parameter:
-s, --short Outputs a short description. Thank you for reading this article carefully. I hope that Xiaobian will share the article "What is the use of the lsb_release command in Linux?" This article is helpful to everyone. At the same time, I hope that everyone will support it a lot. Pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.