add to the PATH
Andrew Jarrett
jarrett.andrew at gmail.com
Sun Feb 10 21:59:14 UTC 2008
On Feb 10, 2008 4:48 PM, Casper Skovby <casperskovby at gmail.com> wrote:
> Hi,
>
> I am running Kubuntu Feisty. I need to add a directory to the PATH. I
> know how to see it (echo $PATH) but where can I change it?
>
> Thank you.
>
> Kind regards
> Casper
If you want to add the directory to the front of the path:
PATH=/dir:$PATH
export PATH
To add to the end of the path:
PATH=$PATH:/dir
export PATH
Andrew
--
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
More information about the kubuntu-users
mailing list