0% found this document useful (0 votes)
51 views

PATH $PATH:/etc/vx/bin:/opt/VRTS/bin:/sbin:/usr/sbin MANPATH $MANPATH:/opt/VRTS/man Export Logname Path Manpath

This document sets default environment variables for logins including PATH, MANPATH, and LOGNAME. It traps signals 2 and 3 and adds directories to the PATH and MANPATH variables including /etc/vx/bin, /opt/VRTS/bin, /sbin, and /usr/sbin. Testing shows the updated PATH is set as intended.

Uploaded by

vinod.nalawade
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

PATH $PATH:/etc/vx/bin:/opt/VRTS/bin:/sbin:/usr/sbin MANPATH $MANPATH:/opt/VRTS/man Export Logname Path Manpath

This document sets default environment variables for logins including PATH, MANPATH, and LOGNAME. It traps signals 2 and 3 and adds directories to the PATH and MANPATH variables including /etc/vx/bin, /opt/VRTS/bin, /sbin, and /usr/sbin. Testing shows the updated PATH is set as intended.

Uploaded by

vinod.nalawade
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

# The profile that all logins get before using their own .profile.

trap "" 2 3
PATH=$PATH:/etc/vx/bin:/opt/VRTS/bin:/sbin:/usr/sbin
MANPATH=$MANPATH:/opt/VRTS/man
export LOGNAME PATH MANPATH

bash-3.2# PATH=$PATh:/etc/vx/bin:/opt/VRTS/bin:/usr/sbin
bash-3.2# echo $PATH
:/etc/vx/bin:/opt/VRTS/bin:/usr/sbin
bash-3.2#

You might also like