Difference between revisions of "Lsb release"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lc}}
 
{{lc}}
 +
<code>lsb_release</code> binary included in the <code>[[lsb-release]]</code> package.
  
 
  lsb_release
 
  lsb_release
Line 6: 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 12: 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>
 
* <code>[[/etc/issue.net]]</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/redhat-release]]</code>
 
* <code>[[/etc/fedora-release]]</code>
 
* <code>[[/etc/fedora-release]]</code>
* <code>[[Amazon Linux]]: [[/etc/os-release]]</code>
+
* <code>[[/etc/debian_version]]</code>
* <code>[[/etc/*release]]</code>
 
 
* <code>[[yum install redhat-lsb-core]]</code>
 
* <code>[[yum install redhat-lsb-core]]</code>
 
* <code>[[hostnamectl]] | grep [[Operating System]]</code>
 
* <code>[[hostnamectl]] | grep [[Operating System]]</code>

Latest revision as of 12:49, 6 February 2024

Advertising: