Glad to be of assistance. Well this has nothing to do with AIX specifically. This applies to any UN*X system as far as you have bash or ksh shell. For other shells, the syntax may change.
This should do what you want:
If you have multiple entries to add to, you can make use of another additional loop inside the while loop. I guess you get the idea!
hi, i have an entry in errpt on aix... any help?
---------------------------------------------------------------------------
LABEL: AMQFFST3
IDENTIFIER: 8FED25B9
Date/Time: Fri Nov 15 07:20:05
Sequence Number: 2715
Machine Id: 000694DF4C00
Node Id: ... (1 Reply)
HI i need to delete an entry in /etc/security/passwd.
can't find a way to do it with userpw.h api ( AIX ).
the passwd file i delete like this.
Write all entrys to passwd file except the one we are removing.
can't find any function that works like getspent / getpwent do
in AIX userpw api.... (4 Replies)
Hi all,
I'm tying to add dns a A record to a dns server running on Solaris 10 on sun's SPARC machine i want to do the following add host name to point to an IP address for a machine running win2k3 both machines have real IPs and exposed to the internet where can i add the A records on DNS server... (2 Replies)
Hi,
I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?
Thanks,
Rakesh (4 Replies)
Hi
The below command shows as
root@cbspsdb02 #export MQSI_USER_EXIT_PATH64=/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib
root@cbspsdb02 #print $MQSI_USER_EXIT_PATH64
/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib
I need to remove the entry for the path "$MQSI_USER_EXIT_PATH64". That is... (3 Replies)
Dear Experts.
I need to add/modify the entries in the DNS server and this has to be achieved using shell script and below is the requirement, could you please let me know if a shell script can be written for this task?
1. Log in to primary DNS server
2. Check /etc/named.conf if zone is... (4 Replies)
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)