You have some home made scripts or programs sitting in your home directory but you always need supply a full path to those scripts in order to be able to execute them. This is fine for a short time but in the long run this can be quite tedious and thus ineffective. The problem is that the path to your scripts is not defined by bash PATH environmental variable. To add path to your scripts pernamently even after reboot modify your ~/.bash_profile file. For example to add paths:

~/bin and ~/android-sdk

add a following line to your ~/.bash_profile file.

PATH=$PATH:$HOME/bin:$HOME/android-sdk

To make the above line affective you need to log out or reboot your system.



Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top