Thursday, April 4, 2013

Cool Terminal Commands to identify your OS detail

I want get the details about my current Ubunutu OS that has been installed in my machine!
as a result of google search. I found few cool commands!


1) uname -a

This command will retrieve you, full detail of the OS that install in your computer.

Linux vanjikumaran-ThinkPad-T530 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux



2) lsb_release -d


This command should give you the the description including the OS name ("Ubuntu" on an Ubuntu system) and the release number.

Description:    Ubuntu 12.10
 

3) lsb_release -c

This will give you just the codename.

Codename:    quantal

 
4) lsb_release -r

This will give you just the release number only.

Release:    12.10


5) lsb_release -a

This will provide you full lsb detail.

No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.10
Release:    12.10
Codename:    quantal

No comments:

Post a Comment