Sponsored Content
Top Forums Shell Programming and Scripting Check for the bit version of OS Post 302323804 by tcsprak on Tuesday 9th of June 2009 03:55:41 AM
Old 06-09-2009
Check for the bit version of OS

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

}

Thanks,
Praveen
 

10 More Discussions You Might Find Interesting

1. Programming

to check version to library

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. UNIX for Dummies Questions & Answers

command to check the bit

i am using sunOS 5.8. What is the command to know the OS bit (8,32,64...) while the server is under production and is it possible to change from one bit to another?? replies appreciated raguram R (2 Replies)
Discussion started by: raguramtgr
2 Replies

3. Solaris

Which version and Bit of Solaris OS

Hello 1) How can I find what bit of OS I am running on? 16 bit, 64 bit? 2) What is the difference in having different bits? 3) Below is the output of /etc/release/ what are all these components meaning? $ more /etc/release Solaris 10 11/06 s10x_u3wos_10 X86 $ Thank... (7 Replies)
Discussion started by: panchpan
7 Replies

4. Solaris

Check version of Oracle

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

5. Solaris

How to check version of Solaris?

Hi All, Looks a foolish question, but please can someone tell me the command to check version of Solaris OS? Thanks, Am (5 Replies)
Discussion started by: am_yadav
5 Replies

6. AIX

porting an application on 64-bit AIX version 5

Hi all, I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue thanks in advance vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies

7. Linux

Request: Compile Earlier Version of XTIDE and upload XTTPD binary on 64 bit Linux

Can someone try to compile this older version of xtide (attached) on 64-bit Intel/Linux and upload the xttpd binary? I have a friend who needs an older version up and running because the newer version does not support his required harmonic files. Thanks! (7 Replies)
Discussion started by: Neo
7 Replies

8. Shell Programming and Scripting

suitable perl version for windows 2008 64 bit

Hi , While executing perl scripts , sometimes cpu consumption is going to 100% and perl script is asking to abort. In perl script , iam having some powershell commnands. out of 10 times , 9 times script runs fine and 1 time its throwing the above error. Iam using windows 2008 64 bit... (2 Replies)
Discussion started by: penchal_boddu
2 Replies

9. Red Hat

How to check the software is 32 bit or 64 bit?

How to check the installed OHS 10.1.3.3 web server is 32 bit or 64 bit on OLE 5.4 (64 bit) OS (7 Replies)
Discussion started by: nuthakki
7 Replies

10. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
JZIP(6) 						 John's Z-code Interpreter Program						   JZIP(6)

NAME
jzip - execute Infocom v1-5 and Inform v1-5 & v8 game files SYNOPSIS
jzip [ options ] z-file-name DESCRIPTION
jzip invokes the Z-code Interpreter. REQUIREMENTS
jzip will run under most (if not all) flavors of Unix, including AIX, Solaris, SunOS, HP/UX, Linux, Free/NetBSD, IRIX, NeXT Mach, DEC OSF/1, and others. EDITING
JZip now supports arrowkey editing in UNIX. Up/Down selects the previous / next command in history Left/Right moves the cursor over the line. Backspace deletes Typing inserts under the cursor OPTIONS
-l n lines in display -c n columns in display -r n text right margin (default = 1) -t n text top margin (default = 0) -v display version information -m monochrome mode -y set Tandy bit -s n zmachine strict level, from 0 (none), 1 (report once, recommended) to 3. ENVIRONMENT
jzip looks for the environment variable INFOCOM_PATH and will use the path found there to look for the story file specified on the command line if the story file cannot be found in the current directory. CREDITS
jzip is written and maintained by John Holder (j-holder@home.com), based on the ZIP v2.0 sources by Mark Howell and Olaf 'Olsen' Barthel. AVAILABILITY
The most recent version of jzip can be downloaded from one of: http://www.jzip.sourceforge.net/ ftp://ifarchive.org/infocom/interpreters/zip/ FILES
/usr/games/jzip The Z-Code Interpreter Program /usr/lib/games/zfiles Recommended location for Zcode files RELATED USENET NEWSGROUPS
Interactive Fiction (IF) authors should check out rec.arts.int-fiction, and IF players should check out rec.games.int-fiction. 2.1 JZIP(6)
All times are GMT -4. The time now is 09:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy