Sponsored Content
Full Discussion: Determine Unix Version
Top Forums UNIX for Dummies Questions & Answers Determine Unix Version Post 72755 by davegeysemans on Tuesday 24th of May 2005 05:01:03 AM
Old 05-24-2005
Hey,

tnx for the tip!

Checked out uname in man-pages and came up with the following:

Quote:
-r Display the current release level of the operating system.
When executed:

Quote:
> uname -r
B.11.11
>
Great!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cmd to determine my OS version?

I'm looking for a generic (i.e. would be resident in most/all unix flavors) internal command for determining my OS and version. When I telnet to a box here @ work, I get none of that info and can't remember the equivalent of the DOS ver command; I know I used to know this! Thanks. (2 Replies)
Discussion started by: brian.wilson
2 Replies

2. Solaris

Determine LOM version?

Is there a way I can determine the LOM version on a Sun machine without actually shutting the system down? I'm confused. :) (2 Replies)
Discussion started by: sysera
2 Replies

3. 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

4. UNIX for Dummies Questions & Answers

how to determine which kind of unix is used

how can i determine which type of unix (solaris ,AIX,HP-UX...) is installed on the machine that i am working? (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

5. Solaris

Migrate unix version 8 to version 9

i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9. Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well? what... (2 Replies)
Discussion started by: lsy
2 Replies

6. UNIX for Dummies Questions & Answers

How to determine if a host is connected to the Internet in Unix?

How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies

7. UNIX for Dummies Questions & Answers

How to determine the level of OS in HP-UNIX

How can you determine the level ot the operating system on an HP UNIX System? (2 Replies)
Discussion started by: aschmid
2 Replies

8. Shell Programming and Scripting

Portable Shell Script - Determine Which Version of Binary is Installed?

I currently have a shell script that utilizes the "Date" binary - this application is slightly different on OS X (BSD General Commmand) and Linux systems (gnu date). In particular, the version on OS X requires the following to get a date 14 days in the future "date -v+14d -u +%Y-%m-%d" where gnu... (1 Reply)
Discussion started by: colinjohnson
1 Replies

9. 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

10. Shell Programming and Scripting

To determine the File Sytem Usage on Multiple UNIX server

Hello All :) I want to write a shell script to find the file system usage on multiple UNIX servers. Commands: df -g fsJCAPS Below script works fine and it displays results on terminal/console. I want to store /redirect output on to local server from where I'm running the script. ... (3 Replies)
Discussion started by: Mohammad Nawaz
3 Replies
UNAME(3)						     Library Functions Manual							  UNAME(3)

NAME
uname - get system identification SYNOPSIS
#include <sys/utsname.h> int uname(name) 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 IEEE Std1003.1-88 (``POSIX''). HISTORY
The uname function first appeared in 4.4BSD. 4th Berkeley Distribution February 4, 1995 UNAME(3)
All times are GMT -4. The time now is 11:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy