Re: Why debian put ~/bin beginning of $PATH
On 09/08/17 05:11, spp mg wrote:
> In the ~/.profile has below default setting:
>
> --------------
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/bin" ] ; then
> PATH="$HOME/bin:$PATH"
> fi
> --------------
>
> Why put ~/bin beginning ?
So that your own stuff has precedence...
> Is that dangerous ?
Not really. Only you or a system administrator would have write access
to ~/bin. What makes you think it might be dangerous?
--
E: jj5@jj5.net
P: +61 4 3505 7839
W: https://www.jj5.net/
begin:vcard
fn:John Elliot V
n:Elliot;John
org:www.jj5.net
email;internet:jj5@jj5.net
tel;cell:+61 4 3505 7839
x-mozilla-html:FALSE
version:2.1
end:vcard
Reply to: