[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SLUG] PATH=$PATH.
can i execute binary files in the $PWD first without having to have $PWD
in $PATH ? or do i have to source a function in bashrc ? the best thing i
can think of that suits my purpose is "PATH=$PATH:.".
apparently people think this style is dangerous and promotes bad habits.
but i don't understand why this style is different to putting scripts in
$PATH and being able to run them.
there was also another suggestion that i got from people, and that was to
use "PATH=$PATH:.." ie. two with "."s.
i've also conducted my own tests for "PATH=$PATH:./", which seems to do
the same thing.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text