{
    "mode": "man",
    "parameter": "LSB_RELEASE",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/LSB_RELEASE/1/json",
    "generated": "2026-10-21T01:51:24Z",
    "synopsis": "lsbrelease [options]",
    "sections": {
        "NAME": {
            "content": "lsbrelease - print distribution-specific information (minimal implementation).\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "lsbrelease [options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a bare-bones version of the lsbrelease command, implemented as a tiny POSIX shell\nscript (less than 100 lines of commented code).\n\nInstead of using LSB packages, this version of lsbrelease uses the information in\n/etc/os-release and /usr/lib/os-release.  Nevertheless, the output of this version is byte-\nfor-byte compatible with the Python-based version provided by Debian and its derivatives.\n\nUsing this implementation it is possible to avoid installing Python in a base OS image while\nstill retaining compatibility with older scripts that expect lsbrelease to exist.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "The program follows the usual GNU command line syntax, with long options starting with two\ndashes (\"--\").  A summary of options are included below.\n",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "Show a help message with a list of options and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-v --version",
                    "content": "Show LSB modules this system supports.\n",
                    "flag": "-v",
                    "long": "--version"
                },
                {
                    "name": "-i --id",
                    "content": "Show distributor ID.\n",
                    "flag": "-i",
                    "long": "--id"
                },
                {
                    "name": "-d --description",
                    "content": "Show description of this distribution.\n",
                    "flag": "-d",
                    "long": "--description"
                },
                {
                    "name": "-r --release",
                    "content": "Show release number of this distribution.\n",
                    "flag": "-r",
                    "long": "--release"
                },
                {
                    "name": "-c --codename",
                    "content": "Show code name of this distribution.\n",
                    "flag": "-c",
                    "long": "--codename"
                },
                {
                    "name": "-a --all",
                    "content": "Show all of the above information.\n",
                    "flag": "-a",
                    "long": "--all"
                },
                {
                    "name": "-s --short",
                    "content": "Show requested information in short format.\n",
                    "flag": "-s",
                    "long": "--short"
                }
            ]
        },
        "FILES": {
            "content": "/usr/lib/os-release\nDistribution-provided file with operating system identification data.\n\n/etc/os-release\nMachine-specific   file   with   operating   system  identification  data.   If  present,\n/etc/os-release is read instead of /usr/lib/os-release.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "os-release(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Gioele Barabucci <https://gioele.io>\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "This implementation of lsbrelease is free software released  under  the  terms  of  the  ISC\nlicense.\n\nlsbrelease 12.0                             2023-07-05                               LSBRELEASE(1)",
            "subsections": []
        }
    },
    "summary": "lsbrelease - print distribution-specific information (minimal implementation).",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Show a help message with a list of options and exit."
        },
        {
            "flag": "-v",
            "long": "--version",
            "arg": null,
            "description": "Show LSB modules this system supports."
        },
        {
            "flag": "-i",
            "long": "--id",
            "arg": null,
            "description": "Show distributor ID."
        },
        {
            "flag": "-d",
            "long": "--description",
            "arg": null,
            "description": "Show description of this distribution."
        },
        {
            "flag": "-r",
            "long": "--release",
            "arg": null,
            "description": "Show release number of this distribution."
        },
        {
            "flag": "-c",
            "long": "--codename",
            "arg": null,
            "description": "Show code name of this distribution."
        },
        {
            "flag": "-a",
            "long": "--all",
            "arg": null,
            "description": "Show all of the above information."
        },
        {
            "flag": "-s",
            "long": "--short",
            "arg": null,
            "description": "Show requested information in short format."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "os-release",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/os-release/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Get LSB (Linux Standard Base) and distribution-specific information.",
        "examples": [
            {
                "description": "Print all available information",
                "command": "lsb_release {{-a|--all}}"
            },
            {
                "description": "Print a description (usually the full name) of the operating system",
                "command": "lsb_release {{-d|--description}}"
            },
            {
                "description": "Print only the operating system name (ID), in short format (omitting the field name)",
                "command": "lsb_release {{-is|--id --short}}"
            },
            {
                "description": "Print the release number and codename of the distribution, in short format",
                "command": "lsb_release {{-rcs|--release --codename --short}}"
            }
        ]
    }
}