Forrest logo
back to the lsb_release tool

lsb_release:tldr:2cedc

lsb_release: Print only the operating system name (ID), suppressing the field name.
$ lsb_release -i -s
try on your machine

The command "lsb_release -i -s" is used to retrieve the distribution ID of the Linux operating system.

Here is the breakdown of the options used in the command:

  • "lsb_release" is a command used to display certain LSB (Linux Standard Base) and distribution-specific information about the Linux distribution.
  • "-i" option is used to display the distribution ID.
  • "-s" option is used to display only the output value without any additional description or labels.

So, when you execute the command "lsb_release -i -s", it will output the distribution ID of the Linux operating system installed on your machine.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lsb_release tool