Re: Odd "which" behaviour - not finding shell script
On Fri, Feb 21, 2003 at 05:50:03PM +0000, Jonathan Matthews wrote:
> Here's a transcript from a shell session.
>
> Can anyone explain why the "which" line doesn't find the script
> when both tab-completion and running it do?
What version of debianutils?
> jaycee@bigdaddy:~$ echo $PATH
> ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
You'll probably find that using $HOME/bin in $PATH (letting the shell
expand $HOME to your home directory) is more reliable than using ~.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: