I just found out about a tool called lsb_release.
lsb_release is a tool created by the LSB (Linux Standard Base) that returns information about the distribution name, version, codename... So this tool should be available on most of the GNU/Linux distribution.
The output will look like this:
cyril@merlin:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy
Time to upgrade to Hardy Heron
No comments:
Post a Comment