aspose file tools*
The moose likes Linux / UNIX and the fly likes Linux version and variant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux version and variant" Watch "Linux version and variant" New topic
Author

Linux version and variant

Maalti Iyer
Ranch Hand

Joined: Jul 11, 2001
Posts: 52
Hi,

I'm new to linux world. I need to know the version and variant of Linux I'm working on. Is there any way to figure out?

Thanks
Maalti Iyer
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
uname -a should give you some clue.
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
uname -a will give kernel version while /etc/redhat-release file will give Linux version.


If you want to become a rich, do not work for others but make others to work for you.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Originally posted by himanshu patel:
/etc/redhat-release file will give Linux version.


And if you don't have that file, you know you aren't on a RedHat variant.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linux version and variant