01-21-2009
$cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
the redhat-release has rel 4. but it does not display 4 anywhere.. in the output of uname -r
$ red-devl:/home/sudhirsb> uname -r
2.6.9-78.0.8.ELsmp
what actually does uname -r display.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I'm installing RedHat 7.0 on a laptop. As it's a dual boot with win2k I make a boot sector instead of using the MBR. After the install I mark the boot sector active in windows then I can boot into Linux.
First question. When I make the boot sector active it deletes the swap... (3 Replies)
Discussion started by: merlin
3 Replies
2. Programming
One of my software should be compiled by fortran 90 under liunx enviroment. I have installed Redhat 7.2, but I don't know where is the free software of fortran 90.
Is there anyone have this kind of knowlege?
Thank you!:confused: http://qhome.51.net (1 Reply)
Discussion started by: wu_chuanjie
1 Replies
3. Linux
hello people i just installed redhat, everything seemes to be fine, but when i start it, it boots up normally and starts firstboot or whatever, then it opens something, i can move the mouse for a while(thats all i see.. first the X then an arrow..) but then the whole computer freezes.. i think the... (3 Replies)
Discussion started by: thenewestuser
3 Replies
4. SuSE
i just bought a redhat 9.0 book which comes with the operating system and Ive install it as a server however Im having difficulties installing Swat and I just wonder if I have to spend buy an enterprise server or what ? (1 Reply)
Discussion started by: keliy1
1 Replies
5. Red Hat
if sombody can help it will be very good.I want to have some information concerning redhat 9.How to go in the internet with :confused: ,how to programmate in c or c++,and finally how i can use it esaly.Sorry for my english i'm a french speaker ;) (1 Reply)
Discussion started by: boyep
1 Replies
6. UNIX for Advanced & Expert Users
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.
... (5 Replies)
Discussion started by: amirvosko
5 Replies
7. UNIX for Dummies Questions & Answers
Hi, Currently running Redhat 5.8, I am thinking about upgrading to 6. After the upgrade, in case, I want to downgrade. How would I do that?
Please let me know. Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Discussion started by: sarbjit
3 Replies
9. UNIX for Beginners Questions & Answers
We received Linux RedHat. I tried java -versionno result
gcc -c no result
I cannot even find Oracle version or directory
Do you know if JAVA, gcc, Oracle are supposed to come with Linux by default?
Thanks, (3 Replies)
Discussion started by: digioleg54
3 Replies
10. UNIX for Beginners Questions & Answers
Hi everyone, i am new to unix system. i got a project to install a web server (grafana)and database(influxdb) to install in redhat 7. The alloted space for my virtual machine is 1.3 TB . i don't have any idea how to allocate this space for redhat directories. DO i have to continue with the basic... (1 Reply)
Discussion started by: munnancs
1 Replies
UNAME(3) BSD Library Functions Manual UNAME(3)
NAME
uname -- get system identification
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/utsname.h>
int
uname(struct utsname *name);
DESCRIPTION
The uname() function stores nul-terminated strings of information identifying the current system into the structure referenced by name.
The utsname structure is defined in the <sys/utsname.h> header file, and contains the following members:
sysname Name of the operating system implementation.
nodename Network name of this machine.
release Release level of the operating system.
version Version level of the operating system.
machine Machine hardware platform.
RETURN VALUES
If uname is successful, 0 is returned, otherwise, -1 is returned and errno is set appropriately.
ERRORS
The uname() function may fail and set errno for any of the errors specified for the library functions sysctl(3).
SEE ALSO
uname(1), sysctl(3)
STANDARDS
The uname() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
HISTORY
The uname function first appeared in 4.4BSD.
BSD
March 30, 2011 BSD