[please don't top-post]

On 05/19/2010 12:45 PM, Rockefeller, Harry wrote:
> After more testing, where
> 
> "export PATH=$PATH:~/bin" only exists in .bash_login.
> 
> If I run 'foo' from my login directory it works.
> If I then cd to a different place I get the error
> 
> bash: ./bin/foo: No such file or directory

What does 'type foo' say?  Is it hashed?  What is $HOME?  Could you
accidentally have set home to a relative path, in which case ~ is
relative instead of absolute?  What does 'echo $PATH' say; are there any
relative paths in that listing?

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to