Search Results

Search: Posts Made By: solaix14
1,994
Posted By solaix14
Array elements comparison using perl
Experts,
I am looking to compare elements of 2 array using perl. Below is not the actual code but logic wise something like this.
my $version = "MYSQlcl-5.2.4-264.x86_64"; <-- split this word into...
3,031
Posted By solaix14
looks like there is no "f" flag that goes along...
looks like there is no "f" flag that goes along with grep (Solaris).Without the f flag, dont think i got what i wanted:#!/usr/bin/bash
array1=( `cat /tmp/array1 `)
array2=( `cat /tmp/array2 `)...
3,031
Posted By solaix14
Bash array manipulation
seeking assistance on comparing two arrays using bash:
array1=(disk1, disk2, disk3, disk5, disk7, vol1, vol2, vol3, vol4, vol5)
array2=(disk2, disk5 vol2, vol4 )
1) if two arrays have same...
3,387
Posted By solaix14
rm command
Hello All,
Someone accidently created a file called * in / directory. What are the different possible options for safely removing this particular file...

thanks
Forum: AIX 04-24-2009
17,585
Posted By solaix14
Its the same application crashing again and...
Its the same application crashing again and again.
try to set the ulimit for stack and data to: unlimited. May be this will help.
If not, then generate the snapcore from the directory where system...
Forum: AIX 04-10-2009
23,797
Posted By solaix14
You can NFS mount the AIX directory on to your...
You can NFS mount the AIX directory on to your Solaris box with:
mount -F nfs -o vers=3 <aixhostname>:<aix directory to mount> <local mount point on solaris>
if your aix machine name is:abcdhost1...
Forum: AIX 04-10-2009
23,365
Posted By solaix14
edit /etc/profile add an entry: PS1="`id...
edit /etc/profile
add an entry:
PS1="`id -un`@`uname -n`:/$PWD>"
export PS1

your new prompt should look like this if you are logged in as root, your hostname is abcdhost1 and you are in /etc...
Forum: AIX 04-10-2009
25,123
Posted By solaix14
Problem mapping LUN disk from VIOS to the LPAR
Hello guys,
It would be so nice of you if someone can provide me with these informations.
1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN....
Forum: AIX 03-31-2009
32,854
Posted By solaix14
Download the latest TL for your architecture and...
Download the latest TL for your architecture and OS version from IBM. Store it somewhere in /tmp or /usr/sys/inst.images.
Then create a .toc file
#inutoc <your directory>
this will create .toc...
25,768
Posted By solaix14
equivalent of backspace in ksh
Hello All,
What would be the equivalent of backspace key in the korn shell.
My scenario is: I am trying to install a product..and it comes out with a Licence Agreement screen, When I manually enter...
Forum: AIX 03-26-2009
11,775
Posted By solaix14
NIM master-client connectivity issue
Hello All,
I believe my NIM master is fine. lsnim and cat /etc/niminfo gives me the right output. While doing "lsnim" on a client machine, I get ksh:lsnim:"not found".
Please someone be nice enough...
2,218
Posted By solaix14
Urgent Korn Shell scripting Help Pleaaaase...
Hello All,
Can someone help me to set a user's password from the script using korn shell. The password change is a one time password after user account creation.
I tried providing the input file as...
6,494
Posted By solaix14
ksh script to change passwd
Hello All,
I am trying to change a user passwd (one time password):
cat /tmp/passwd
mnop1234
mnop1234
#passwd abcd < /tmp/passwd
(for some reason, it is not able to input the password from...
Forum: Infrastructure Monitoring 03-10-2009
1,938
Posted By solaix14
May be I will stick to korn shell for the time...
May be I will stick to korn shell for the time being.
Here is my simple question,
original content of a particular line in a file:
sysdescr Sun SNMP Agent, Sun-Fire-T2000
I need to modify...
Forum: Infrastructure Monitoring 03-10-2009
1,938
Posted By solaix14
sed help,,kind of urgent!!
Hello All,
My problem is:
I want to replace a line from a file with sed. The first word in that line is always the same in every server. The second line is server model, which of course will vary...
1,301
Posted By solaix14
Got the output exactly the same way I...
Got the output exactly the same way I wanted...thanks Srik.
1,301
Posted By solaix14
sed help
Hello all,
I am trying to replace a line from a file with a line from another file using sed. Previously I was able to use sed without any problem when I had to replace a line with another line as...
Forum: AIX 02-04-2009
9,391
Posted By solaix14
uh..uh.. Wont be burning my eyes for the sake...
uh..uh..
Wont be burning my eyes for the sake of this. Thanks all of u guys and (Funksen) yah..cannot wait to have my first optical cable connected and make it work.
~cheers
Forum: AIX 02-03-2009
9,391
Posted By solaix14
c'mmon guys, help me out here....
c'mmon guys, help me out here....
Forum: AIX 02-03-2009
9,391
Posted By solaix14
connect optical cable to HBA
Hi guys,
I have not connected optical cable to the Dual port HBA before. My integrator used to do that for me all the time. Can someone explain to me how can I physically connect optical cable to...
1,465
Posted By solaix14
input file unmatched
Hello guys,
I am trying to run an installer through my script. Whatever yes/no or values required during the installation is provided by an answer file (answ.txt)
./install < /var/answ.txt

Now,...
Forum: AIX 01-13-2009
2
Nim
2,186
Posted By solaix14
Understood. thanks bakunin..
Understood.

thanks bakunin..
Forum: AIX 01-12-2009
2
Nim
2,186
Posted By solaix14
Nim
Hello guys,
what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side?
2,165
Posted By solaix14
remove and replace text in a file
Hello all,
How would I go to a particular line in a file and remove certain text from it and replace with something that I want it to be there.

like: file /etc/abc
now look for line...
4,023
Posted By solaix14
Padow, Is "expect" the only way around to get...
Padow,
Is "expect" the only way around to get this done. There has to be another way other than expect. Only my guess though..I can afford to put expect on one of the box to get it done but this has...
Showing results 1 to 25 of 49

 
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy