LSB_RELEASE(1)
๐ LSB_RELEASE(1) ๐
user commands, bestie โ and it's the cutest little one, fr fr ๐
โจ NAME โจ
lsb_release โ print distribution-specific information (minimal implementation). yes it's minimal, no it's not lazy, it's called efficiency ๐
๐ฆ SYNOPSIS ๐ฆ
lsb_release [options]
๐ธ DESCRIPTION ๐ธ
okay so. this is a bare-bones version of the lsb_release command, and when i say bare-bones i mean it's literally a tiny POSIX shell script. like, less than 100 lines of commented code. that's the whole thing. slay.
instead of doing the whole LSB packages thing, this version just reads its info from /etc/os-release and /usr/lib/os-release. and here's the iconic part โ even though it's doing something completely different under the hood, the output is byte-for-byte compatible with the Python-based version provided by Debian and its derivatives. no cap. ๐ซถ
so what does that mean for you? it means you can keep a base OS image Python-free (gasp, i know, stunning) while still keeping compatibility with all those older scripts that expect lsb_release to just... exist. she's adaptable. she's lowkey a legend. ๐
๐ 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. the "hi bestie here's what i do" moment ๐ฅฐ-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. the "just give me everything" option, respect it-s,--shortโ show requested information in short format. no yapping, just vibes โจ
๐ 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-releaseis read instead of/usr/lib/os-release.
ok so important: it's not a merge situation, it's a pick one situation./etc/os-releasewalks in and/usr/lib/os-releaseis out. ๐
๐ SEE ALSO ๐
๐ AUTHOR ๐
Gioele Barabucci <https://gioele.io>
๐ LICENSE ๐
this implementation of lsb_release is free software released under the terms of the ISC license. free software!! we love to see it!!
and that's the whole page bestie ๐ this was lsb_release version 12.1, dated 2025-12-18, and you found her under LSB_RELEASE(1) โ go forth and query your distro, you've got this ๐ฆโจ
๐ฆ where this page comes from
- ubuntu resolute: lsb-release 12.1-2build1 ยท ISC
- ubuntu stonking: lsb-release 12.1-2build1 ยท ISC
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms