Search Results

Search: Posts Made By: Muktesh
256,939
Posted By Muktesh
what does " ||" mean? ( Double pipe)
I found a line in one of the shell scripts,

cd /tmp || exit 2


What does this double pipe "||" mean?

Can any one tell what it is doing?


Thanks in advance.
Forum: Solaris 08-23-2007
2,703
Posted By Muktesh
ssh problem
Hi,

I am trying to ssh to a server.

Senario is as below:
I have two servers A and B both are solaris and having ssh version
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL

I have created...
Forum: AIX 08-23-2007
4,879
Posted By Muktesh
Location code for pdisk
Hi ,

I was migrating an AIX 5.2 system to AIX 5.3.
I have hdisk8 and hdisk2 mirrored under rootvg.

Below is the lscfg -vp output for the disks.

hdisk8 U0.1-P1-I1/Q1-W40AABDDCC800D...
54,492
Posted By Muktesh
ssh - passing password in shell script
I have a requirement, I need to run a command at remote system using a ssh. Is there any way we can pass the username and password in shell script to the ssh command as we did it in one of the...
32,138
Posted By Muktesh
Thanks blowtorch. awk '/auditError/{getline;...
Thanks blowtorch.

awk '/auditError/{getline; print}' inputfile this has helped me a lot.

But how if I wanted to print the next two lines of matched word.
32,138
Posted By Muktesh
How to get a next line of a matched word?
Hi ,

If I match a word in a file, I want to pick the next line of that matched word.

My file is a below format-

The ntrag trace has auditError
Line5005 contains transaction Ntrag data
...
Showing results 1 to 6 of 6

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