qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] configure


From: Jeff Chua
Subject: Re: [Qemu-devel] [PATCH] configure
Date: Wed, 9 May 2007 22:55:27 +0800

On 5/9/07, Andreas Schwab <address@hidden> wrote:
"Jeff Chua" <address@hidden> writes:

> "which" returns the first path, "type" returns all paths.

You want "type -p".

# type awk
awk is /bin/awk
awk is /usr/bin/awk
# type -p awk
/bin/awk
/usr/bin/awk
# type foo
-bash: type: foo: not found
# type -p foo
#

Interesting. "type -p foo" does the same as "type foo 2>/dev/null",
but only if "foo" is not found. Tried that on "awk" above, and it
prints the paths.

Thanks,
Jeff.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]