06-05-2009
use the command "uname -s" before performing "if" condition
-- Jayan Jayaseelan
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Are there any flavors of UNIX which are better suited for implementation in the field of 3d animation, if so what are they? (3 Replies)
Discussion started by: aloysius1001
3 Replies
2. What is on Your Mind?
What are the different flavors of Linux? (1 Reply)
Discussion started by: SubbaraoV
1 Replies
3. UNIX for Dummies Questions & Answers
could anybody tell me what is a unix flavor? (4 Replies)
Discussion started by: human
4 Replies
4. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
5. Shell Programming and Scripting
Hello - Is there a command/way we can find out, what shells are supported on a Unix machine?
Please let me know.
Thanks,
Manju (3 Replies)
Discussion started by: manju--
3 Replies
6. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone. This is an awesome forum. Glad to have joined! :)
I use Linux mostly, even for Desktop usage. I just love everything about it, all the way down to how the font looks while browsing. Its just so sleek and sexy.
But I also boot Windows for those programs I just need that only... (23 Replies)
Discussion started by: insomnia
23 Replies
8. Shell Programming and Scripting
Hello All,
I am in process of migrating all my scripts from AIX box to Linux box. In one of my script I calculate my last week date with the below command
$ TZ=EDT+172 date +%F
2012-12-13
$ uname -a
AIX 1 7 000B29AAD400
Now when I tried running the same in Linux, it gives a false... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
9. Shell Programming and Scripting
Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies
10. Shell Programming and Scripting
Hi All ,
I am very new to unix script.I am aware of unix commands but never put together in unix script level.If any one can suggest me technical guidance in the below scenario that will highly beneficial.
Data have been already migrated from mainframe to Hadoop file system(HDFS).HDFS server... (15 Replies)
Discussion started by: STCET22
15 Replies
optisa(1) User Commands optisa(1)
NAME
optisa - determine which variant instruction set is optimal to use
SYNOPSIS
optisa instruction_set...
DESCRIPTION
optisa prints which instruction_set out of the ones specified in the command will perform best on this machine. In this case, ``best''
is defined by the order in which instruction set names are returned by isalist(1). Possible values for instruction_set are given in
isalist(5).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
EXIT STATUS
The following exit values are returned:
0 One of the instruction_set values you specified is printed by this command.
1 There is no output; that is, this machine cannot use any instruction_set that you specified with the optisa command.
SEE ALSO
isalist(1), uname(1), attributes(5), isalist(5)
NOTES
optisa is preferable to uname -p or uname -m (see uname(1)) in determining which of several binary versions of a given program should be
used on the given machine.
SunOS 5.10 25 Jul 1997 optisa(1)