[clug] finding things on the path
Francis Whittle
fudje at phreaker.net
Wed Jan 12 10:27:29 GMT 2005
That's what his script finds, not `which'
On Wed, 2005-01-12 at 21:08 +1100, Alex Satrapa wrote:
> On 12 Jan 2005, at 12:10, Kim Holburn wrote:
>
> > # which -a '*ping*'
> > # sh globpath '*ping*'
> > ls: /usr/local/sbin/*ping*: No such file or directory
> > ls: /usr/local/bin/*ping*: No such file or directory
> > ls: /usr/bin/*ping*: No such file or directory
> > ls: /sbin/*ping*: No such file or directory
> > ls: /usr/bin/X11/*ping*: No such file or directory
> > /bin/ping /usr/sbin/arping /usr/sbin/hping
> > /bin/ping6 /usr/sbin/dhcping /usr/sbin/hping2
> > #
> >
> > which -a doesn't seem to do anything.
>
> hping, hping2 and arping aren't the things you're looking for?
>
More information about the linux
mailing list