Lsb release: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Eromanov (talk | contribs)
Eromanov (talk | contribs)
Line 17: Line 17:
|'''-v'''
|'''-v'''
|'''--version'''
|'''--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.
|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.
          
          


|-
|-
|'''-c'''  
|'''-i'''  
|'''--omit-header'''
|'''--id'''
|kuvab pääsupiiramisloendi  kommentaarideta (kuvab pääsupiiramisloendi ilma faili, omaniku ning grupi nimeta)
|Display the ID of your Linux distributor. For instance, if you are running Debian, this option will display Distributor ID: Debian.  
*'''-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.<br/>
 
*'''-i''', --id; - Display the ID of your Linux distributor. For instance, if you are running Debian, this option will display Distributor ID: Debian.<br/>
*'''-d''', --description; - Display a description of your Linux distribution. For instance, if you are running CentOS 7, this will display something like
*'''-d''', --description; - Display a description of your Linux distribution. For instance, if you are running CentOS 7, this will display something like
Description: CentOS Linux release 7.3.1611 (Core)<br/>
Description: CentOS Linux release 7.3.1611 (Core)<br/>

Revision as of 13:19, 18 September 2017

Author

Elizaveta Romanova, A21

.09.2017

About lsb_release

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.

lsb_release syntax

lsb_release  [OPTIONS]

lsb_release 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 Distributor ID: Debian.
  • -d, --description; - Display a description of your Linux distribution. For instance, if you are running CentOS 7, this will display something like

Description: CentOS Linux release 7.3.1611 (Core)

  • -r, --release; - Display the release number of the current operating system. For instance, if you are running Fedora 25, this will output Release: 25
  • , --codename; -Display the codename of the current operating system. For instance, if you are running Ubuntu 16.04, this will display

Codename: xenial

Installing LSB Core

Ubuntu, Debian

CentOS

Fedora

OpenSUSE

Arch

Other distributions

lsb_release examples

Related commands