hi
If you are still facing the problem you can try this also same thing but the shorter method.
#export PATH=$PATH
your absolute path name)
For permanently adding your directory as one of the path you can edit files
/etc/profiles
or
/root/.bash_profiles (if your are using bash as your default shell)
with best regards
rahul