Specific directories containing commands and/or scripts can be added to the PATH by appending the directories to the PATH in the .profile file. For example, to automatically search a bin directory owned by the current user, add the following code to the .profile file in the user's home directory.
if [ ${OLDPATH:-0} = 0 ]; then
export OLDPATH=$PATH
fi
export PATH=$OLDPATH:~/bin
Home > Computers > Operating Systems > UNIX > Shell > Korn > Set PATH
Viewing mobile website page. Switch to WML or Full HTML