Friday, July 20, 2012

Show distribution information from command line in Xubuntu

lsb_release prints distribution information.

Some examples

Open a terminal window and run:

$ lsb_release -i
Distributor ID: Ubuntu
$ lsb_release -d
Description: Ubuntu 12.04 LTS
$ lsb_release -r
Release: 12.04
$ lsb_release -c
Codename: precise
# Options can be combined (-s for short format)
$ lsb_release -sirc
Ubuntu
12.04
precise

References

lsb_release(1) - Linux man page

No comments:

Post a Comment