Difference between revisions of "Lsb release"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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 ==
Line 20: Line 29:
 
* <code>[[/etc/issue.net]]</code>
 
* <code>[[/etc/issue.net]]</code>
 
* <code>cat [[/etc/*release]]</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>[[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: