Sponsored Content
Full Discussion: version of OS
Top Forums Shell Programming and Scripting version of OS Post 302296092 by pludi on Tuesday 10th of March 2009 10:39:21 AM
Old 03-10-2009
Code:
$ uname -a

usually gives you all the information you need.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what version am I using?

Hi Im new here and pretty new to Unix. Just a couple of questions How can I tell what version of Unix I'm running? and Also I hope this makes sence, when writting scripts/programmes does it matter what Im writting it in? ie what shell? Or is it just identical whatever shell Im... (1 Reply)
Discussion started by: Loaded Gun
1 Replies

2. UNIX for Dummies Questions & Answers

version of OS

Hi , what is the command to find the version of OS running on a unix box? Thanks. (4 Replies)
Discussion started by: tselvanin
4 Replies

3. UNIX for Dummies Questions & Answers

VERSIOn

Hi, I would like to know, how do I findout what version UNIx OS my computer is using? Is there a particular command I type to do this? Please advise. Thanks (1 Reply)
Discussion started by: huhuloa
1 Replies

4. UNIX for Dummies Questions & Answers

What OS version am I on?

I'm trying to figure out the exact version of the AIX box I'm on. Like whether it's 5.1 or 5.2. I tried lsconf and smit but they didn't give the answer. Does anyone know a command that returns this value? I don't have root access. (3 Replies)
Discussion started by: rein
3 Replies

5. HP-UX

What is my Version

Hi, This is my HP-UX version, hpprod::root>uname -a HP-UX hpprod B.11.11 U 9000/800 1110164401 unlimited-user license hpprod::root> but I've already patch with, PHSS_30101 1.0 Support Tool Manager Dec 2003 PHSS_30170 B.11.11.18 ... (1 Reply)
Discussion started by: aldosfox
1 Replies

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

7. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies

8. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

9. Red Hat

OS version and Firmware version

Guys, How to find OS version and firmware version in LINUX? Like in AIX. uname -a will show me the version 5.3, 6.1,7.1. lsmcode -c will show me - system firmware image as SF240_417. What are the similar commands in Linux. I checked uname -a and cat /etc/release. uname... (1 Reply)
Discussion started by: ElizabethPJ
1 Replies
FS_SYSNAME(1)						       AFS Command Reference						     FS_SYSNAME(1)

NAME
fs_sysname - Reports or sets the CPU/operating system type SYNOPSIS
fs sysname [-newsys <new sysname>]+ [-help] fs sy [-n <new sysname>]+ [-h] DESCRIPTION
The fs sysname command sets or displays the local machine's CPU/operating system type as recorded in kernel memory. The Cache Manager substitutes the string for the @sys variable which can occur in AFS pathnames; the OpenAFS Quick Beginnings and OpenAFS Administration Guide explain how using @sys can simplify cell configuration. It is best to use it sparingly, however, because it can make the effect of changing directories unpredictable. The command always applies to the local machine only. If issued on an NFS client machine accessing AFS via the NFS/AFS Translator, the string is set or reported for the NFS client machine. The Cache Manager on the AFS client machine serving as the NFS client's NFS/AFS translator machine stores the value in its kernel memory, and so can provide the NFS client with the proper version of program binaries when the user issues commands for which the pathname to the binaries includes @sys. There is a separate record for each user logged into the NFS client, which implies that if a user adopts a new identity (UNIX UID) during a login session on the NFS client -- perhaps by using the UNIX su command -- he or she must verify that the correct string is set for the new identity also. OPTIONS
-newsys <new sysname> Sets the CPU/operating system indicator string for the local machine. This option may be used multiple times in the same invocation, which sets @sys to an array of values. When @sys contains an array of values, the first value that matches a path is used. If this argument is omitted, the output displays the current setting instead. AFS uses a standardized set of strings; consult the OpenAFS Quick Beginnings or OpenAFS Release Notes. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
When the -newsys argument is omitted, the output reports the machine's system type in the following format: Current sysname is '<system_type>' When the -newsys argument is included, the output is the following: fs: new sysname list set. EXAMPLES
The following example shows the output produced on a Sun SPARCStation running Solaris 5.7: % fs sysname Current sysname is 'sun4x_57' The following command defines a machine to be a IBM RS/6000 running AIX 4.2: % fs sysname -newsys rs_aix42 The following command defines a machine to be Mac OS X PPC and a custom type 'foo'. The second command queries the new sysname: % fs sysname -newsys ppc_darwin_80 -newsys foo fs: new sysname list set. % fs sysname Current sysname list is 'ppc_darwin_80' 'foo' If @sys is "ppc_darwin_80 foo", then "cd @sys" will try to change to the "ppc_darwin_80" directory. If the "ppc_darwin_80" directory doesn't exist, then the "foo" directory is tried. PRIVILEGE REQUIRED
To display the current setting, no privilege is required. To include the -newsys argument on an AFS client machine, the issuer must be logged in as the local superuser "root". SEE ALSO
fs_exportafs(1), sys(1) The OpenAFS Quick Start Guide at <http://docs.openafs.org/QuickStartUnix/>. The OpenAFS Administration Guide <http://docs.openafs.org/AdminGuide/>. For the list of assigned standard sysname values, see <http://grand.central.org/numbers/systypes.html> COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_SYSNAME(1)
All times are GMT -4. The time now is 11:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy