The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Redhat linux command to check Version bache_gowda UNIX for Dummies Questions & Answers 1 03-23-2007 02:09 AM
Dual Xeon 2.6, RedHat EL 4 ES, up to latest release version. 2.6.9 kernel Garp Linux Benchmarks 2 08-01-2005 11:01 AM
Linksys WPC11 Version 4 (NOT FOR REDHAT!) Farhan Linux 0 07-31-2004 06:50 PM
Redhat linux version sssow UNIX for Dummies Questions & Answers 3 02-21-2003 03:07 PM
How do I find out what version of X I'm using? DISTURBED UNIX for Dummies Questions & Answers 2 07-01-2002 07:56 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-19-2007
amirvosko amirvosko is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 2
Find RedHat version.

How can I find out with a C program, on which RedHat version the program is being ran ? I do know through compilation variables that I'm on RedHat but so far cannot find out which one.

Currently the closest I got was to invoke an ls or cat through syscall for the release or motd files.

Thanks:
Amir
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0