PATH ~/bin under gnome

Gilles Gravier Gilles at Gravier.org
Tue Nov 21 15:30:20 UTC 2006


In /etc/profile, you would put

PATH=$HOME/bin:$PATH
export PATH

That way, $HOME/bin expands to the user's /home/whatever/bin ... 
/etc/profile is executed at loginn by every user. Not once at boot by 
the system.

So this seems to me like exactly what you want...

Gilles.


Peter Garrett wrote:
> On Tue, 21 Nov 2006 14:19:08 +0100
> Gilles Gravier <Gilles at Gravier.org> wrote:
>
>   
>> Just put stuff in /etc/profile ...
>>     
>
> But that file is global isn't it? So if you put ~/bin there. or
> indeed /home/someuser/bin  then it would be part of every user's path, not
> just one.
>
> That's fine if you know that, and it is your intention  ...
>
> Peter
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061121/f6462d99/attachment.html>


More information about the ubuntu-users mailing list