On Sunday 30 January 2005 07:08 am, Tom Chapin wrote:
> Jerry writes:
> >Should I just move my practice scripts to /home/hub/bin and
> >not put my home directory in my path?
>
> Yes, in general.
>
> In specific, I always do:
>     export PATH=$PATH:$HOME/bin:.
> in my .profile or .bashrc or wherever, and create my practice scripts in a
> current directory of topical interest while I am getting them to work, and
> then put them in $HOME/bin after they work and I know they will be of
> interest to me no matter where I am.
>
> You should never put your $HOME in your path because it would get too
> cluttered with gunk (that's what .../bin directories are for).  

i agree with this. in my home, i have a bin dir; that's what should be in your 
path.

here's my echo $PATH:
/home/rsgranne/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/RealPlayer

> And I 
> always put my current directory in my $PATH, but always at the end. 

i would NOT do this (much as i respect tom's knowledge & wisdom), because it's 
a security hazard. go look online, & you'll find many, many folks cautioning 
against it.

scott

-- 
R. Scott Granneman
[EMAIL PROTECTED] ~ www.granneman.com
Full list of publications: http://www.granneman.com/publications
Read the Open Source Blog: http://opensource.weblogsinc.com
Join GranneNotes! Information at www.granneman.com

"Ours is the age that is proud of machines that think and suspicious of men 
who try to."
      ---H. Mumford Jones
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/    
[email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to