tired of typing the entire path to your script , or changing your path every time you log in , why not update the path on your system
type in cd ~ …this will put you in the home directory
in centos , you should find a .bash_profile file in the home directory
you just need to add to the path variable in this file
[root@kbrk2 ~]# cat .bash_profile
.bash_profile
Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
User specific environment and startup programs
PATH=$PATH:$HOME/bin:/kafka/kafka_2.12-2.5.0/bin
export PATH
once this file is modified , you can run source .bash_profile to make it active for the current session