[How To]: Identify Currently Running Linux Distribution Using LSB Command #CLI

lsb_release “Linux Standard Base“ is a simple command line tool allows you to show more information such as “distribution code name, distribution ID, distribution release number, and distribution description” about currently used linux distribution.

Run Terminal, then type

lsb_release -a

This command will show all information at once. Also you can show these information separately using commands down bellow.

lsb_release -h show this help message and exit
lsb_release -v show LSB modules this system supports
lsb_release -i show distributor ID
lsb_release -d show description of this distribution
lsb_release -r show release number of this distribution
lsb_release -c show code name of this distribution
lsb_release -a show all of the above information
lsb_release -s show requested information in short format

Also you might want to check the related posts and Command Line posts.

2 thoughts on “[How To]: Identify Currently Running Linux Distribution Using LSB Command #CLI

  1. Pingback: Quickies; ID a distro from the command line « 0ddn1x: tricks with *nix

  2. Pingback: [How To]: Identify Currently Running Linux Distribution Using LSB Command #CLI | LinuxNov | FRANCESCO DI FUSCO

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>