How to remove the entry for the path in aix

Hi

The below command shows as

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

What do you want to remove?

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

unset
/>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.

1 Like