Search Results

Search: Posts Made By: ak835
1,307
Posted By ak835
I did try both and they worked. Thanks !! I...
I did try both and they worked. Thanks !!

I slightly modified the requirement.

Earlier while searching ,i knew what i was searching for and i can loop the solutions you provided over a file to...
1,307
Posted By ak835
Thanks....!! Now ,let me modify the...
Thanks....!!

Now ,let me modify the requirement.

I want to search the entire file [comprising of thousands of records] in unique way. It has to search based on first column only ,which is...
1,307
Posted By ak835
Pick first "code" only [ grep/awk ]
All

I have a requirement to search and pick the data as below. Explained with example.

38999|4812 Highway 52 North|Rockville|55901|0196
67541|2800 Dexter Road|Northville|38999|0196


This...
9,175
Posted By ak835
Runtime linker is missing alright....anyone got...
Runtime linker is missing alright....anyone got around the solution for this ?

I am facing same problem.... after i installed SUDO on my sol box...looks like some pre-check was needed.....

...
1,794
Posted By ak835
all cases...yes take the most complex...
all cases...yes

take the most complex sudoers file you have .... :)


its a big task


regards
aBhI
1,794
Posted By ak835
@ cjcox: what approach are you suggesting? ...
@ cjcox:

what approach are you suggesting?

i know its going to be a very difficult parse and i am already struggling with it.

all cases ?? i could not get that....


AbHi
1,794
Posted By ak835
/etc/sudoers - extract Ids
Gurus

I have an unusual task to be done with.

Task:

A > Pick up /etc/sudoers file and extract all the Ids from it.

B > Compare these Ids with those in /etc/passwd file .If match is...
Forum: AIX 05-10-2010
3,424
Posted By ak835
Issue resolved....!!! We just had to set...
Issue resolved....!!!

We just had to set DISPLAY variable at the right place ; and our sys admin folks forgot to reboot the server once after installing VFB.

We bounced the server once and...
Forum: AIX 04-29-2010
3,424
Posted By ak835
we tried setting it as: export...
we tried setting it as:

export DISPLAY=localhost:0.0

but the error is same....

where should we set DISPLAY variable ? i had it set in my user's .profile.
Forum: AIX 04-29-2010
3,424
Posted By ak835
Advice - X11 not functioning
Hello Folks

We have following software installed on our AIX box

X11.vfb - Virtual Frame Buffer Software

We also see its process running

root 528406 1 0 06:27:18 - 0:00 /usr/bin/X11/X...
3,143
Posted By ak835
thanks Mate....!! you have helped when it...
thanks Mate....!! you have helped when it mattered most.....!!

i just need your confirmation on following....

bash-2.05$ cat file
<ServerGroup Name="HOST/vignlive">
<Server...
3,143
Posted By ak835
okay...i guess i am too much used to 'cat'.i was...
okay...i guess i am too much used to 'cat'.i was just testing those commands and i used cat in them.

nevertheless ,i would like to see how we can extract same NAME element from below 2 syntaxes.
...
3,143
Posted By ak835
bash-3.00$ cat plugin |nawk -F\"...
bash-3.00$ cat plugin |nawk -F\" '/<Server/{n=$8}/Port/&& $4 ~ port{print n,$4}' port=9360 |awk '{print $1}'
was7node1_sample_server1
bash-3.00$ cat plugin |nawk -v port="9360" '$0 ~ port { print...
3,143
Posted By ak835
Can anyone try with this actual xml ? I...
Can anyone try with this actual xml ?

I would really appreciate your time and effort.

Regards
Abhi
3,143
Posted By ak835
bash-3.00$ cat name.xml <Server...
bash-3.00$ cat name.xml
<Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="JVM1" ServerIOTimeout="0" WaitForContinue="false">
<Transport Hostname="<HOST_NAME>"...
3,143
Posted By ak835
Guys Can you show me how your syntaxes are...
Guys

Can you show me how your syntaxes are working on your system ?

'awk' is throwing me syntax error and 'sed' is not returning anything....

Regards
Abhi
3,143
Posted By ak835
Extract "Name" from this syntax.....
Hello Folks

<Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="JVM1" ServerIOTimeout="0" WaitForContinue="false">
<Transport Hostname="<HOST_NAME>"...
26,865
Posted By ak835
well...i am no expert on this subject though i...
well...i am no expert on this subject though i understand what you guys are trying to tell .....

what i am trying to do here is simple....i'll have ,say,pass.conf file which will have encrypted...
26,865
Posted By ak835
@Corona688 You are right in general but here...
@Corona688

You are right in general but here i have a simple design.Encrypted password stored in a file,decrypted by my script and directly passed to expect script.Its not a robust design but...
4,202
Posted By ak835
paste the o/p of ssh command you used...
paste the o/p of ssh command you used...
4,202
Posted By ak835
connect both hosts manually to each other using...
connect both hosts manually to each other using ssh so both are 'known_hosts' to each other.Then write a small script to sftp files.
3,633
Posted By ak835
thanks vgersh99 !!
thanks vgersh99 !!
26,865
Posted By ak835
Encrypt the password ,decrypt it,source it in an expect script...!!
Hello folks

I have a conf file ,say 'pass.conf' ,which is storing ascii password : PASS1111.

I need to encrypt this password once and store it in a file.

I ,then need to write a script which...
3,633
Posted By ak835
I have no probs in using the provided...
I have no probs in using the provided solution....

My question is : what if you do not know number of columns ?

I have files getting generated every week and some of these files have varying...
3,633
Posted By ak835
what if we don know the number of columns ? ...
what if we don know the number of columns ?

---------- Post updated at 05:55 PM ---------- Previous update was at 04:03 PM ----------

let me give the actual scenario...

<HOST> tcp ...
Showing results 1 to 25 of 139

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