Search Results

Search: Posts Made By: tekster2
5,861
Posted By DGPickett
I recall making one in windows to get my macro...
I recall making one in windows to get my macro containing template accepted quietly. Googling, I see I may have figured this out before. AIX may be using essentially the same code as open_ssl...
2,342
Posted By methyl
To repeat. Maybe somebody on this board can...
To repeat.
Maybe somebody on this board can post a sample one from RHEL if the O/P is away from the terminal.
2,342
Posted By methyl
Another fundamental of unix Bourne Shell...
Another fundamental of unix Bourne Shell scripting:

if [ condition ]
then
#do something
fi

I'm becoming more sarcastic by the minute. (Big smile on face and no vitriol intended).
...
2,342
Posted By Corona688
The problem isn't the * symbols. The problem is...
The problem isn't the * symbols. The problem is that you're not following the syntax, at all.

If statements work like this:

if SOMETHING
then
...
else
...
fi

Case statements work like...
2,342
Posted By methyl
Usual requests. Please post sample output from...
Usual requests.
Please post sample output from "uname -n" for your variety of servers.

General answer:
case "<variable_to_test>" in
"value1")
# commands
...
2,342
Posted By in2nix4life
Is this the entire script? If so, I don't see the...
Is this the entire script? If so, I don't see the end of the case statement:


case

code

esac
3,345
Posted By admin_xor
It's simple enough!! Hope you get the idea...
It's simple enough!!

Hope you get the idea from here:


#!/usr/bin/ksh

lsldap -a passwd testuser
ret=$?

if [ $ret -ne 0 ]; then
echo `uname -n`","`uname -o` >>/tmp/no.xml
else
...
3,345
Posted By otheus
Use the ldap client command to bind as a user. If...
Use the ldap client command to bind as a user. If the command fails, you should
get nonzero exit code. If it succeeds, you should get
a zero exit code. If you can confirm this, you just
put the...
3,030
Posted By methyl
AIX 5.3 is old. It drops off the support matrix...
AIX 5.3 is old. It drops off the support matrix 30 April 2012.
People here often prefer to try a command before posting.

LDAP with AIX is mentioned sometimes on this board but you may need to...
Showing results 1 to 9 of 9

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