04-30-2008
AIX & Solaris 10 problem
I have this command in my script and it's working fine with AIX:
ls init?*.ora 2>/dev/null | egrep -i -e ""
the same command is failing in Solaris 10.
does anyone have better idea how to make it work for both ?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the difference in awk stmt for awk in Aix & SOLARIS
files="$@"
for filename in $files
do
awk ' BEGIN {
if ( FILENAME ~ ".*bad.trans.dsm" )
code = "bad";
else if ( FILENAME ~ ".*here.*.dsm" )
code = "here";
else
... (2 Replies)
Discussion started by: ls1429
2 Replies
2. Linux
Hi all,
I tried to install Solaris 10 and then VMware ESX server v3.02 on the same PC (or hard drive). But after successfully installing Solaris 10, when I installed Vmware ESX Server on the same drive(but on different partition, boot menu is not coming.
It is just booting Vmware only.
Pls... (1 Reply)
Discussion started by: vikas027
1 Replies
3. UNIX for Dummies Questions & Answers
Hi friends,
I have a script that sets the env variable path based on different conditions.
Now the new path variable setting should not done in the same terminal or same shell.
Only a new terminal or new shell should have the new path env variable set.
I am able to do this only as follows:
>cd... (1 Reply)
Discussion started by: sowmya005
1 Replies
4. Solaris
Hello
The first sorry for mi bad english
I install a solaris 10 on vmware. I follow the steps to configure the network, but i can't do work :(
I follow the next steps:
# vi hosts
"hosts" 6 líneas, 82 caracteres
#
# Internet host table
#
::1 localhost loghost workshop
... (10 Replies)
Discussion started by: capilla
10 Replies
5. Solaris
Hi guru
I want to know which company's hardware is more stable means in term of H/W faults or replacement, in case of IBM (AIX), HP (HPUX) & SUN MICROSYSTEM (Solaris) & which order also, if we go through more stable to less stable system.
Regards (1 Reply)
Discussion started by: girish.batra
1 Replies
6. AIX
Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS )
This article or post covers upgrades for
- Hardware Management Console ( HMC )
- Firmware ( also known as microcode )
- VIO ( Virtual I/O Server = PowerVM )
- AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies
7. Shell Programming and Scripting
Hello Everybody,
thanks in advance for spending some time in my problem.
My problem is this:
I want to call a java-Programm out of my shell skript, check if die return code is right, and split the output to the normal output and into a file.
The following code doesn't work right, because in... (2 Replies)
Discussion started by: danifunny
2 Replies
8. Programming
Hello all,
I have the following code that seems to be misbehaving depending on the timezone setting (TZ Environment variable). It gives the correct value when TZ is in POSIX format and the wrong value when in OLSON format.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include... (6 Replies)
Discussion started by: biju64
6 Replies
9. UNIX for Beginners Questions & Answers
I want to install Slackware 14.2, FreeBSD and Solaris 10 on a p4 machine but multiboot is not working as lilo overwrites grub and btx boot loader can't detect others. I had to boot slackware and Solaris with the installation disc for a good number of times. I installed all boot loaders on MBR. The... (0 Replies)
Discussion started by: vectrum
0 Replies
10. UNIX for Beginners Questions & Answers
I want to install Slackware 14.2, FreeBSD and Solaris 10 on a p4 machine but multiboot is not working as lilo overwrites grub and btx boot loader can't detect others. I had to boot slackware and Solaris with the installation disc for a good number of times. I installed all boot loaders on MBR. The... (3 Replies)
Discussion started by: harveyclayton
3 Replies