Standard dir for user scripts
Usually I create a bin directory in my home dir and I add this dir to the PATH.
- create the bin dir:
mkdir ~/bin - Edit the environment:
sudo gedit /etc/environment - find the line export PATH... and add ':$HOME/bin' to the end of that line
- reboot
Now the shell will look for executable in the user's bin dir. So that is the place where you can move executable scripts and the like.
The .profile file in your home directory should already do that for you by default.
ReplyDelete