How to remove the entry for the path in aix


Login or Register to Reply

 
Thread Tools Search this Thread
# 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 12:06 PM.. Reason: Please use CodeTags around commands and output
# 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:
samsungsamsung (05-05-2011)
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
sed remove cron entry jaysunn Shell Programming and Scripting 3 01-14-2013 07:53 PM
remove brackets and put it in a column and remove repeated entry manigrover Shell Programming and Scripting 2 08-08-2012 09:27 AM
remove file/inode entry abdul.irfan2 UNIX for Advanced & Expert Users 5 02-28-2012 05:18 PM
Same entry in multiple server at once in aix mk39 AIX 8 12-29-2011 09:07 AM
How to remove filename from the path djanu Shell Programming and Scripting 10 03-10-2011 03:55 PM
how to remove the path ramky79 Shell Programming and Scripting 6 01-05-2011 02:56 PM
Remove copies/duplicates of same entry sajal.bhatia Shell Programming and Scripting 1 10-13-2010 10:39 PM
remove a path from PATH environment variable madhu84 Shell Programming and Scripting 9 10-23-2009 03:02 AM
How to add DNS entry in AIX 5.3 Balajipoola007 AIX 1 04-17-2009 08:10 AM
how to remove the stale entry without a reboot?? navadeep AIX 6 03-26-2009 10:53 PM
userpw.h AIX ( delete entry from the shadow password database ) nighter Programming 4 07-15-2008 02:06 PM
Remove path from filename borgeh UNIX for Dummies Questions & Answers 3 08-23-2007 10:58 AM
Remove duplicate entry in one line kharen11 UNIX for Dummies Questions & Answers 5 07-05-2007 02:56 PM
remove an entry in crontab melanie_pfefer Solaris 1 12-18-2006 04:45 AM
errpt on aix entry. yls177 UNIX for Dummies Questions & Answers 1 11-15-2002 09:28 AM