02-05-2008
man uname
i.e. use
uname -r
or just
uname -a
HTH
10 More Discussions You Might Find Interesting
1. Programming
how to check the version of Library
version of Program &
version of file.
while compile pro*c program, I got error like elf error: no string table
if u have any suggestion then give me urgently. (1 Reply)
Discussion started by: dilipluhar
1 Replies
2. Solaris
Hi All,
Please advice me how i can check the Oracle version on my UNIX Solaris machine without logging in to oracle?
Thanks,
Am (1 Reply)
Discussion started by: am_yadav
1 Replies
3. Shell Programming and Scripting
Hi ,
Is there a command that i can use to check the bit version of the OS.
I have a script that i need to run on all the unix flavors so how do i check for the condition
say something like this
if( 32 bit)
{
execute this
}
else
{
execute this (4 Replies)
Discussion started by: tcsprak
4 Replies
4. Solaris
Command to check firmware version of HP x86 server on which solaris installed.
I m not getting version by using prtdiag -v command (1 Reply)
Discussion started by: sunray
1 Replies
5. Shell Programming and Scripting
I need to put a check for the files that are expected to come from source as single version but if they are coming in multiple version, i need to fail the job.also .from the soource some multiple files ll be coming that are required.
e.g.5 files are coming from source.
aaa
bbb
ccc
ddd
eee... (4 Replies)
Discussion started by: amitpta
4 Replies
6. Red Hat
Hi,
Please help me to understand how to check which snmp vesion(1, 2, 3) is configured on my rhel5 server.
Regards,
Aravind :) (2 Replies)
Discussion started by: arumon
2 Replies
7. Solaris
How to check Solaris Volume Manager Version in 9 & 10? Which are the packages that are installed in the SVM? (1 Reply)
Discussion started by: ajhal04
1 Replies
8. Solaris
Hi Guys,
Could you please tell me how to read this Solaris version:-
Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC
Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies
9. HP-UX
Dear Gurus,
I am totally new to HP-UNIX.
Can you please help me that how can i check the detail version of Oracle on HP-UNIX.
My administrator give me command for linux as below.
select * from v$version;
(Login to the database using Sql*Plus and connect as Sys user.)
Please see... (3 Replies)
Discussion started by: imtiaza
3 Replies
10. UNIX for Beginners Questions & Answers
for pkg in `pkginfo | grep tar | grep application | awk '{print $2}'`; do pkginfo -l $pkg | grep VERSION; done
Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: svijayas
2 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
The uname() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate
the error.
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 IEEE Std 1003.1-1988 (``POSIX.1'').
HISTORY
The uname() function first appeared in 4.4BSD.
BSD
January 4, 1994 BSD