Difference between revisions of "Lsb release"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
<code>lsb_release</code> binary included in the <code>[[lsb-release]]</code> package.
  
 
  lsb_release
 
  lsb_release
Line 5: Line 6:
  
 
  [[lsb_release --help]]
 
  [[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
 
  lsb_release -a
Line 11: Line 20:
 
  Description: [[Ubuntu 20.04]].2 LTS
 
  Description: [[Ubuntu 20.04]].2 LTS
 
  Release: 20.04
 
  Release: 20.04
  Codename: focal
+
  Codename: [[focal]]
  
 
  [[lsb_release -cs]]
 
  [[lsb_release -cs]]
 +
[[focal]]
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[uname -a]]</code>
 
* <code>[[uname -a]]</code>
[[/etc/issue.net]]
+
* <code>[[/etc/issue.net]]</code>
 
+
* <code>cat [[/etc/*release]]</code>
[[yum install redhat-lsb-core]]
+
* <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 ==

Latest revision as of 12:49, 6 February 2024

Advertising: