which command fails

2002-12-19 Thread J S
Hi, Since I upgraded cygwin I can't use the which command. It keeps saying: $ which /usr/bin/ls /usr/bin/ls: Command not found. My path appears to be OK: $ echo $PATH /usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv

Re: which command fails

2002-12-19 Thread Sylvain Petreolle
correct syntax of which is which ls, remember that the goal of which is to show the path of the command you give as a parameter. see man which. --- J S [EMAIL PROTECTED] a écrit : Hi, Since I upgraded cygwin I can't use the which command. It keeps saying: $ which /usr/bin/ls

Re: which command fails

2002-12-19 Thread J S
Sorry I copied the wrong line. This is what I'm getting even after doing a reinstall: u752359@A217447D ~ $ which ls ls: Command not found. correct syntax of which is which ls, remember that the goal of which is to show the path of the command you give as a parameter. see man which. ---