Google
 

Linux Distro Counter

Welcome to Open Source Software and Linux Blog.

Hi, everyone!. I just created this blog to share knowledge about open source software and Linux. If you all have knowledge and info related to open source / Linux, please share or send me an email. Thanks ^_^

Wednesday, June 13, 2007

How to know your Linux version?

Hi, do you know what version exactly you use? This is the step:

Easy way.
  1. On consonle just type cat /etc/issue.net and enter.
  2. Its will promt something like picture below. Easy!

Others way:
For Ubuntu:
cat /etc/lsb-release

For Redhat:
cat /etc/redhat-release

For SuSE:
cat /etc/SuSE-release

This line will be displayed something like below (like Ubuntu):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=6.10
DISTRIB_CODENAME=edgy
DISTRIB_DESCRIPTION="Ubuntu 6.10"

No comments: