Difference between revisions of "Lsb release"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lc}} |
− | + | <code>lsb_release</code> binary included in the <code>[[lsb-release]]</code> package. | |
lsb_release | lsb_release | ||
No [[LSB]] modules are available. | No [[LSB]] modules are available. | ||
+ | [[lsb_release --help]] | ||
+ | |||
+ | lsb_release -a | ||
+ | No LSB modules are available. | ||
+ | Distributor ID: Ubuntu | ||
+ | Description: Ubuntu 22.04.2 LTS | ||
+ | Release: 22.04 | ||
+ | Codename: [[jammy]] | ||
+ | |||
+ | |||
+ | lsb_release -a | ||
+ | No LSB modules are available. | ||
+ | Distributor ID: Ubuntu | ||
+ | Description: [[Ubuntu 20.04]].2 LTS | ||
+ | Release: 20.04 | ||
+ | Codename: [[focal]] | ||
+ | |||
+ | [[lsb_release -cs]] | ||
+ | [[focal]] | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[uname -a]]</code> | ||
+ | * <code>[[/etc/issue.net]]</code> | ||
+ | * <code>cat [[/etc/*release]]</code> | ||
+ | * <code>[[Amazon Linux]], [[Debian]]: [[/etc/os-release]]</code> | ||
+ | * <code>[[/etc/redhat-release]]</code> | ||
+ | * <code>[[/etc/fedora-release]]</code> | ||
+ | * <code>[[/etc/debian_version]]</code> | ||
+ | * <code>[[yum install redhat-lsb-core]]</code> | ||
+ | * <code>[[hostnamectl]] | grep [[Operating System]]</code> | ||
== See also == | == See also == | ||
+ | * {{lsb_release}} | ||
+ | * {{uname}} | ||
* {{APT}} | * {{APT}} | ||
+ | |||
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 12:49, 6 February 2024
lsb_release
binary included in the lsb-release
package.
lsb_release No LSB modules are available.
lsb_release --help
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
lsb_release -cs focal
Related commands[edit]
uname -a
/etc/issue.net
cat /etc/*release
Amazon Linux, Debian: /etc/os-release
/etc/redhat-release
/etc/fedora-release
/etc/debian_version
yum install redhat-lsb-core
hostnamectl | grep Operating System
See also[edit]
lsb_release
,lsb_release --help
,lsb_release -cs, /etc/*release, /etc/issue, hostnamectl, uname
uname, uname -m
,lsb_release, hostnamectl
,sw_vers (macOS)
,winver
,ver, busybox
APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
Advertising: