Adding $home/bin to your path: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Create a file called .profile in your home that does this: <source lang="bash"> # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PAT...")
 
(No difference)

Latest revision as of 17:03, 26 November 2013

Create a file called .profile in your home that does this:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi