Set Environment Variable
sfeehan at sbb.uvm.edu
Sun Jul 10 02:16:26 UTC 2005
On Sat, Jul 09, 2005 at 09:43:32PM -0400, Sean Sieger wrote:
> How do I add ~/bin to $PATH ?
> Sean Sieger
The default .bash_profile (copied from /etc/skel when accounts
are created) already does this:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
But the directory has to already exist or the test fails.
More information about the ubuntu-users