Lsb release: Difference between revisions
From ICO wiki test
				
				
				Jump to navigationJump to search
				
				
| Line 49: | Line 49: | ||
|'''--all'''  | |'''--all'''  | ||
|Display all of the above information. For instance, if you are running Arch Linux, this will display  | |Display all of the above information. For instance, if you are running Arch Linux, this will display  | ||
<  | <font size="2">LSB Version: 1.4  | ||
Distributor ID: Arch  | Distributor ID: Arch  | ||
Description: Arch Linux  | Description: Arch Linux  | ||
Release: rolling  | Release: rolling  | ||
Codename: n/a<  | Codename: n/a</font>  | ||
|-  | |-  | ||
|'''-s'''    | |'''-s'''    | ||
|'''--short'''  | |'''--short'''  | ||
|Use the "short" output format, which omits headers. You can use this in combination with another option. For instance, if you are running Fedora 25, the command <font size="2">'''lsb_release'''</font>  | |Use the "short" output format, which omits headers. You can use this in combination with another option. For instance, if you are running Fedora 25, the command  | ||
<font size="2">'''lsb_release'''</font>  | |||
<br>will display:<br/>  | <br>will display:<br/>  | ||
<font size="2">25</font>  | <font size="2">25</font>  | ||
Revision as of 15:12, 18 September 2017
Author
Elizaveta Romanova, A21
.09.2017
About command
The lsb_release command displays LSB (Linux Standard Base) information about your specific Linux distribution. It's a reliable way to get version information about the Linux system you're using.
Syntax
lsb_release [OPTIONS]
Options
| -v | --version | Show the version of the Linux Standard Base that your system is compliant with. The version is displayed as a colon-separated list of LSB module descriptions.
 
  | 
| -i | --id | Display the ID of your Linux distributor. For instance, if you are running Debian, this option will display
 
  | 
| -d | --description | Display a description of your Linux distribution. For instance, if you are running CentOS 7, this will display something like
 Description:
  | 
| -r | --release | Display the release number of the current operating system. For instance, if you are running Fedora 25, this will output
 
  | 
| -c | --codename | Display the codename of the current operating system. For instance, if you are running Ubuntu 16.04, this will display
 
  | 
| -a | --all | Display all of the above information. For instance, if you are running Arch Linux, this will display
 LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/a  | 
| -s | --short | Use the "short" output format, which omits headers. You can use this in combination with another option. For instance, if you are running Fedora 25, the command
 lsb_release
  | 
| -h | --help | Display a help message which summarizes these options. |