# LSB_RELEASE - print distribution-specific information (minimal imple... - man(1) - [phpMan]

> **TLDR:** Get LSB (Linux Standard Base) and distribution-specific information.
>
- Print all available information:
  `lsb_release {{-a|--all}}`
- Print a description (usually the full name) of the operating system:
  `lsb_release {{-d|--description}}`
- Print only the operating system name (ID), in short format (omitting the field name):
  `lsb_release {{-is|--id --short}}`
- Print the release number and codename of the distribution, in short format:
  `lsb_release {{-rcs|--release --codename --short}}`

*Source: tldr-pages*

---

[_LSB_RELEASE_(1)](https://www.chedong.com/phpMan.php/man/LSBRELEASE/1/markdown)                              User Commands                             [_LSB_RELEASE_(1)](https://www.chedong.com/phpMan.php/man/LSBRELEASE/1/markdown)

## NAME
       lsb_release - print distribution-specific information (minimal implementation).

## SYNOPSIS
       **lsb_release _**[options]_

## DESCRIPTION
       This is a bare-bones version of the **lsb_release **command, implemented as a tiny POSIX shell
       script (less than 100 lines of commented code).

       Instead of using LSB packages, this version of **lsb_release **uses the information in
       _/etc/os-release_ and _/usr/lib/os-release_.  Nevertheless, the output of this version is byte-
       for-byte compatible with the Python-based version provided by Debian and its derivatives.

       Using this implementation it is possible to avoid installing Python in a base OS image while
       still retaining compatibility with older scripts that expect **lsb_release **to exist.

## OPTIONS
       The program follows the usual GNU command line syntax, with long options starting with two
       dashes ("--").  A summary of options are included below.

### -h --help
           Show a help message with a list of options and exit.

### -v --version
           Show LSB modules this system supports.

### -i --id
           Show distributor ID.

### -d --description
           Show description of this distribution.

### -r --release
           Show release number of this distribution.

### -c --codename
           Show code name of this distribution.

### -a --all
           Show all of the above information.

### -s --short
           Show requested information in short format.

## FILES
       _/usr/lib/os-release_
           Distribution-provided file with operating system identification data.

       _/etc/os-release_
           Machine-specific   file   with   operating   system  identification  data.   If  present,
           _/etc/os-release_ is read instead of _/usr/lib/os-release_.

## SEE ALSO
       [**os-release**(5)](https://www.chedong.com/phpMan.php/man/os-release/5/markdown)

## AUTHOR
       Gioele Barabucci <<https://gioele.io>>

## LICENSE
       This implementation of **lsb_release **is free software released  under  the  terms  of  the  ISC
       license.

lsb_release 12.0                             2023-07-05                               [_LSB_RELEASE_(1)](https://www.chedong.com/phpMan.php/man/LSBRELEASE/1/markdown)
