This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Linux version and variant  RSS feed

 
Maalti Iyer
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
uname -a should give you some clue.
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
uname -a will give kernel version while /etc/redhat-release file will give Linux version.
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!