What is my current path to binaries and libs:
echo $PATH
add a directory to my path so I don’t have to fully qualify the path to run. (we’re adding /QOpenSys/usr/bin)
export PATH=$PATH:/QOpenSys/usr/bin
Permanently set the default PATH used when you connect. Create /home/MYPROFILE/.profile and add the export command above
In bsh just use
PATH=$PATH:/QOpenSys/usr/bin
set libpath for *.so files
LIBPATH=$LIBPATH:/QOpenSys/opt/freeware/lib