[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bizarre ls Behavior



Martin McCormick wrote:
> -r-xr-xr-x    2 root     root       301376 Jan 21 09:45 ls
> Thanks for any hints as to why this directory doesn't list if
> one is in it but does list if one is either root or doing ls from
> outside the bin directory.

Guessing: your $PATH contains "." before the "/bin"
Bad thing!
When in doubt: run /bin/ls instead of ls.

HS



Reply to: