Search Results

Search: Posts Made By: littlefrog
Forum: OS X (Apple) 12-10-2008
10,755
Posted By littlefrog
Ifconfig output - help understanding flags 'Smart, Simplex', etc
Hi -

Trying to understand a few things from an ifconfig -a output - can't seem to find info anywhere on the net.

Specifically - looking to understand the following:

Flags=8863
Smart...
10,279
Posted By littlefrog
Many thanks - the mailx was the issue - switched...
Many thanks - the mailx was the issue - switched the script around and seems to now work as hoped!
10,279
Posted By littlefrog
One other note - I took out the '>...
One other note -

I took out the '> /dev/null 2>&1' from the ldap search command - and i only see one instance of 'ibm-replcationState=ready' returned to my screen. -

So it looks like for some...
10,279
Posted By littlefrog
sorry - just having a difficult time explaining...
sorry - just having a difficult time explaining this mess....


What i would like is:

For each suffix in the ldaplist file -

To run an ldap search command

And then grep for...
10,279
Posted By littlefrog
Right now - rather than sending one email per...
Right now - rather than sending one email per suffix - it sends one email and in the body of the email is the output for each suffix.

Thanks
10,279
Posted By littlefrog
while read loop w/ a nested if statement - doesn't treat each entry individually
Hi -

Trying to take a list of ldap suffixes in a file, run an ldapsearch command on them, then run a grep command to see if it's a match, if not, then flag that and send an email alert.

The...
6,209
Posted By littlefrog
That Works - Thanks a million for the quick...
That Works - Thanks a million for the quick response!!!!!!
6,209
Posted By littlefrog
Have a basic 'for i in cat list' - Trying to get i to be set to a name with a space
Hi

Have a file called ldap.list:

******
"o=unix forum"
o=groups
******

i wrote a basic script that runs:

for i in `cat ldap.list`

do

ldapsearch -h host -p 389 -b $i


THE...
5,816
Posted By littlefrog
Yea!!!!! Works like a charm - Thanks!! ...
Yea!!!!!

Works like a charm - Thanks!!

PS: Any recommendations for a good scripting (ksh) book / tool to really learn how to script? I have been reading 'learning the korn shell - oreilly'.
...
5,816
Posted By littlefrog
Super Thanks!!!! Both suggestions helped - ...
Super Thanks!!!!

Both suggestions helped -

I change the tic from ` to ' and switched the date to the format Month day.

Looks Great

One last question -

My mailx command is not...
5,816
Posted By littlefrog
I may be missing something.. well.. I'm sure I'm...
I may be missing something.. well.. I'm sure I'm missing something.

I tried the suggestion above and tried several combinations, but I don't seem to be capturing the variables correctly. Can you...
5,816
Posted By littlefrog
Ksh script - Design ? - Search file and set variables
Hi -

I'm trying to think of a clever way to write a shell script (trying to stay w/ ksh as that's what I know the best...) that will resolve the following problem:

Problem - On a daily basis I...
Showing results 1 to 12 of 12

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