瀏覽代碼

Merge pull request #303 from waldyrious/patch-5

Add linux/lsb_release
Igor Shubovych 9 年之前
父節點
當前提交
9090a7773e
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      pages/linux/lsb_release.md

+ 19 - 0
pages/linux/lsb_release.md

@@ -0,0 +1,19 @@
+# lsb_release
+
+> Provides certain LSB (Linux Standard Base) and distribution-specific information
+
+- Print all available information
+
+`lsb_release -a`
+
+- Print a description (usually the full name) of the operating system
+
+`lsb_release -d`
+
+- Print only the operating system name (ID), suppressing the field name
+
+`lsb_release -i -s`
+
+- Print the release number and codename of the distribution, suppressing the field names
+
+`lsb_release -rcs`