[S.u.S.E. Linux] [Fwd: which which?]
<PRE> 'Morning, Have others experienced this abberation with which returning nothing for 'which which' and 'which ls'?? Regards, Stu </PRE> -- BEGIN included message</EM></P> <BLOCKQUOTE> <UL> <LI>To</em>: <A HREF="mailto:alg-l@lists.io.com">alg-l@lists.io.com</A></LI> <LI>Subject</em>: Re: which which?</LI> <LI>From</em>: Stu Green <<A HREF="mailto:stugreen@bga.com">stugreen@bga.com</A>></LI> <LI>Date</em>: Tue, 02 Jun 1998 10:45:40 -0500</LI> <LI>References</em>: <199805310437.XAA17174@mail10.jump.net> <v03110713b198d3ccde57@[128.83.133.197]></LI> <LI>Reply-To</em>: <A HREF="mailto:alg-l@lists.io.com">alg-l@lists.io.com</A></LI> <LI>Sender</em>: <A HREF="mailto:owner-alg-l@lists.io.com">owner-alg-l@lists.io.com</A></LI> </UL> <PRE> Patrick Goetz wrote:
Can anyone confirm/deny the following SuSE 5.2 quirk?
which which and which ls
return blank lines (instead of the path for which and ls, resp.).
--- To unsubscribe send the message "unsubscribe alg-l" without quotes to majordomo@lists.io.com Send questions to owner-alg-l@lists.io.com The ALG web page is at <A HREF="http://members.aol.com/U4icRecall/alg.htm"><A HREF="http://members.aol.com/U4icRecall/alg.htm</A">http://members.aol.com/U4icRecall/alg.htm</A</A>>
The abnormality is confirmed. Stu --- To unsubscribe send the message "unsubscribe alg-l" without quotes to majordomo@lists.io.com Send questions to owner-alg-l@lists.io.com The ALG web page is at <A HREF="http://members.aol.com/U4icRecall/alg.htm"><A HREF="http://members.aol.com/U4icRecall/alg.htm</A">http://members.aol.com/U4icRecall/alg.htm</A</A>> </PRE> </BLOCKQUOTE> -- END included message</EM></P>
At 11:31 AM 98-06-02 -0500, you wrote:
'Morning, Have others experienced this abberation with which returning nothing for
'which which' and 'which ls'?? Regards, Stu
For bash (and perhaps other shells) both are aliases that is why you don't see any display from which. In your shell type "alias" that will show your define aliases prompt> unalias ls prompt> which ls will show you ls is /bin/ls. HTH Arun Khan -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi! Trying to kill the keyboard, arunkhan@xnet.com produced:
Have others experienced this abberation with which returning nothing for 'which which' and 'which ls'??
For bash (and perhaps other shells) both are aliases that is why you don't see any display from which.
But try strace -eioctl,write which ls and compare that to which compress or any other working one. BTW, which cd returns empty, but looking at strace should return an error ... something strange is going on ... -Wolfgang -- PGP 2 welcome: Mail me, subject "send PGP-key". If you've nothing at all to hide, you must be boring. Unsolicited Bulk E-Mails: *You* pay for ads you never wanted. Is our economy _so_ weak we have to tolerate SPAMMERS? I guess not. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
arunkhan@xnet.com
-
stugreen@bga.com
-
weissel@jupiter.ph-cip.uni-koeln.de