How to remove the entry for the path in aix


 
Thread Tools Search this Thread
Operating Systems AIX How to remove the entry for the path in aix
# 1  
Old 05-05-2011
How to remove the entry for the path in aix

Hi

The below command shows as

Code:
root@cbspsdb02 [/var/mqsi/common/profiles] #export MQSI_USER_EXIT_PATH64=/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib

root@cbspsdb02 [/var/mqsi/common/profiles] #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 if I type the above command it should not show anything.
How to do that? Please assist

Last edited by joeyg; 05-05-2011 at 01:06 PM.. Reason: Please use CodeTags around commands and output
# 2  
Old 05-05-2011
What do you want to remove?
# 3  
Old 05-05-2011
path

if i type the below command the output should be empty. It should not show any path. How to do that

#print $MQSI_USER_EXIT_PATH64
# 4  
Old 05-05-2011
Code:
unset

Code:
/>oslevel
5.3.0.0

/>export MQSI_USER_EXIT_PATH64=/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib
/>print $MQSI_USER_EXIT_PATH64
/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib
/>unset MQSI_USER_EXIT_PATH64
/>print $MQSI_USER_EXIT_PATH64

root@ms:/>

Note: I did not change $PATH. I only cleared that variable.
This User Gave Thanks to purdym For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed remove cron entry

Hello, I am not having much luck with removing a entry in cron. I would like to get rid of the following line in /var/spool/cron/root. 1 09 * * 1-5 /etc/init.d/snmpd stop > /dev/null 2>&1I have tried this with no luck. sed -i 's#1 09 * * 1-5 /etc/init.d/snmpd stop >... (3 Replies)
Discussion started by: jaysunn
3 Replies

2. Shell Programming and Scripting

remove brackets and put it in a column and remove repeated entry

Hi all, I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192) CHST3 (PA26503) docetaxel... (2 Replies)
Discussion started by: manigrover
2 Replies

3. UNIX for Advanced & Expert Users

remove file/inode entry

Hello all, I am on hpux itanium 11.31...and we run a oracle DB on it. I am testing some backup and restore situation.... first i select some data from the DB.....now i remove some files from the DB where my data is being selected from.....now i select the same data from the DB but i still get... (5 Replies)
Discussion started by: abdul.irfan2
5 Replies

4. Shell Programming and Scripting

Remove copies/duplicates of same entry

Hi, I have a very big (with around 1 million entries) txt file with IPv4 addresses in the standard format, i.e. a.b.c.d The file looks like 10.1.1.1 10.1.1.1 10.1.1.1 10.1.2.4 10.1.2.4 12.1.5.6 . . . . and so on.... There are duplicate/multiple entries for some IP... (1 Reply)
Discussion started by: sajal.bhatia
1 Replies

5. Shell Programming and Scripting

remove a path from PATH environment variable

Hi I need a script which will remove a path from PATH environment variable. For example $echo PATH /usr/local/bin:/usr/bin:test/rmve:/usr/games $echo rmv test/rmve Here I need a shell script which will remove rmv path (test/rmve) from PATH... (9 Replies)
Discussion started by: madhu84
9 Replies

6. AIX

How to add DNS entry in AIX 5.3

we have using windows 2003 server as DNS Server, now we want add dns entry in AIX 5.3 server. can any body help (1 Reply)
Discussion started by: Balajipoola007
1 Replies

7. AIX

how to remove the stale entry without a reboot??

my AIX server used to have scsi disk hdisk4. Now i removed that disk. But still it is still listed in lspv. So how can i remove the stale entry of it ? (6 Replies)
Discussion started by: navadeep
6 Replies

8. UNIX for Dummies Questions & Answers

Remove duplicate entry in one line

Can anyone help me how can i print only the unique entry in a line? MI_AP MI_AP MI_CM MI_MF RC_NAP MBS_AP SF_RAN MBS_AP NT_CAR so that it will on output the one unique entry per line. MI_AP MI_CM MI_MF RC_NAP MBS_AP SF_RAN NT_CAR I can't find the same situation on the knowledge... (5 Replies)
Discussion started by: kharen11
5 Replies

9. Solaris

remove an entry in crontab

Hi I have a crontab file of only 1 entry. When I edit it and delete the line, then do crontab -l, the crontab still show the entry that is supposed to be deleted. I did crontab -r to remove the crontab. Is there a way to delete just one entry in the crontab?? thx. (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

10. UNIX for Dummies Questions & Answers

errpt on aix entry.

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)
Discussion started by: yls177
1 Replies
Login or Register to Ask a Question