Sponsored Content
Top Forums Shell Programming and Scripting need to know the version of Linux Post 302593247 by fpmurphy on Thursday 26th of January 2012 09:24:08 AM
Old 01-26-2012
What are you looking for? The version of the Linux kernel that you are using? Or the (release) version of the Linux distribution that you are on? They are not the same thing.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Redhat linux version

Guys How do i know the version of linux (Redhat) on one of our systems..Thanks in advance..The uname -r gives 2.4.18-0.13..Is it the kernel version (3 Replies)
Discussion started by: sssow
3 Replies

2. Slackware

Determine Linux Version.

Apart from the obvious, uname command, is there anyway to determine which Linux distribution and version of the distribution has been installed? (7 Replies)
Discussion started by: mbb
7 Replies

3. UNIX for Dummies Questions & Answers

What is the new version of linux or should i use fedora

hi guys, pls help me to find out what is the latest version of linux that i can install in my pc or should i install fedora... (1 Reply)
Discussion started by: anankumar3
1 Replies

4. UNIX for Dummies Questions & Answers

How do I see which version of Linux I am using ?

I want to know the distribution and version of linux that I am running: uname -r gives me: 2.4.20-8bldsmp uname -v gives me: #1 SMP Wed Sep 20 19:32:24 PDT 2006 Whats the distribution ? and whats the version ? thanks !!! (1 Reply)
Discussion started by: the_learner
1 Replies

5. Linux

Linux version v.s. 32bit/64bit

Where can I get a list that maps the each Linux version to corresponding 32/64 bits model? e.g. OS -> Model (ILP32, LP64, ...) RHLE3 -> ? RHLE4 -> ? RHLE5 -> ? ... It would be better if there is such a list that contains most of current UNIX OS versions. ... (1 Reply)
Discussion started by: princelinux
1 Replies

6. Linux

Why is there so many linux version?

Hi, Why is there many different Linux names and SO instead to be only one? What are the differences? Paul Weinstock (3 Replies)
Discussion started by: Paul Weinstock
3 Replies

7. UNIX for Dummies Questions & Answers

Search linux which core version is 2.4.0

I want to use linux which core version is 2.4.0,so I want to know which version linux contains core 2.4.0? Where can I get this version linux? Thanks (1 Reply)
Discussion started by: konvalo
1 Replies

8. Linux

How to know the Linux version?

Hi, How to know the Linux version in the box in which linux is installed ? Cheers K Md Shakeel (3 Replies)
Discussion started by: krackjack
3 Replies

9. Linux

Linux Version of IE?

Is there a linux version of IE? (5 Replies)
Discussion started by: billcrosby
5 Replies

10. Shell Programming and Scripting

Using Linux to determine version of Windows

This is an odd question and I didn't really know what category it fits. I just installed Ubuntu 12.10. During the installation process, the screen informed me that Windows 7 was installed in a particular partition. I'm just wondering how this was accomplished. Using 'fdisk -l' will indicate... (1 Reply)
Discussion started by: jamarsh
1 Replies
GNU_GET_LIBC_VERSION(3) 				     Linux Programmer's Manual					   GNU_GET_LIBC_VERSION(3)

NAME
gnu_get_libc_version, gnu_get_libc_release - get glibc version and release SYNOPSIS
#include <gnu/libc-version.h> const char *gnu_get_libc_version(void); const char *gnu_get_libc_release(void); DESCRIPTION
The function gnu_get_libc_version() returns a string that identifies the glibc version available on the system. The function gnu_get_libc_release() returns a string indicates the release status of the glibc version available on the system. This will be a string such as stable. VERSIONS
These functions first appeared in glibc in version 2.1. CONFORMING TO
These functions are glibc-specific. EXAMPLE
When run, the program below will produce output such as the following: $ ./a.out GNU libc version: 2.8 GNU libc release: stable Program source #include <gnu/libc-version.h> #include <stdlib.h> #include <stdio.h> int main(int argc, char *argv[]) { printf("GNU libc version: %s ", gnu_get_libc_version()); printf("GNU libc release: %s ", gnu_get_libc_release()); exit(EXIT_SUCCESS); } SEE ALSO
confstr(3) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2012-08-26 GNU_GET_LIBC_VERSION(3)
All times are GMT -4. The time now is 08:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy