Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux version and variant" Watch "Linux version and variant" New topic

Linux version and variant

Maalti Iyer
Ranch Hand

Joined: Jul 11, 2001
Posts: 52

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?

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

Joined: Oct 29, 2001
Posts: 9188

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.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Linux version and variant
It's not a secret anymore!