Found out the followings commands.$ uname -a
Print basic information currently available from the system.
man uname will give u more details of the various options available.
Using ls /etc/*release* you can findout the distro information.
The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific information. Type the following command:
$ lsb_release -a