30.4 C

lsb_release Command on Linux

In your lifetime on Linux systems, you obviously had to run a number of commands for lots of purposes, right? A core command that’s available on all the Linux systems is the “lsb_release”. This is a tool that prints a certain LSB (Linux Standard Base) and a short information about the current system (Linux distro). This is a very handy tool to find out a summary of your system info if you need it right away.

Note that there are other advanced tools like Superfetch and Neofetch that will provide you more in-depth information about your system.

lsb_release command

Here are all the available command line options for the tool –

  • -s or –short: Tells the tool to print out a short version of the info.
  • -i or –id: Prints out the string ID of the distributor.

  • -v or –version: Displays all the available lsb modules that the current system support.
- Advertisement -

  • -c or –codename: Prints out the codename of the distro.

  • -d or –description: Shows a single line text description of the distributor.

  • -r or –release: Prints out the release number of the distro.

  • -h or –help: Prints out a help file.

The most basic usage of the tool is –

lsb_release -a

This prints out all the information. Note that you can mix a number of arguments together.

lsb_release -sa

For advanced information on your system, you should rely on Superfetch or Neofetch.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"


Please enter your comment!
Please enter your name here

Latest article