Set the PATH

1. To set up bin folder as PATH as session only.

export PATH=~/bin/:$PATH

 

2. To set it up as private to yourself, go to ~/.profile or ~/.bashrc

Add in to the line where you can find similar

PATH="~/bin/:$PATH"

After editing you need to run it

source ~/.profile

Advertisements