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). And I
always put my current directory in my $PATH, but always at the end. (If I
am so stupid as to leave my own directories open for others to write into,
or to run unknown commands in someone else's directories, then I deserve
what I get...) Typically when I am working at some company, I always
rewrite my $PATH from scratch anyway, since the sysadmins too often give us
an /etc/profile that puts our current directory in front, and loads up
$PATH with garbage, half of which no longer exist and many of the rest I
will never use, so I hardcode what I want in my .profile.
Tom
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/
[email protected]
http://lists.firepipe.net/listinfo/cwe-lug