which script

Tushar Teredesai sukucorp at gmail.com
Thu Nov 17 10:43:17 PST 2005


On 11/17/05, Jeremy Huntwork <jhuntwork at linuxfromscratch.org> wrote:
> I have a question. The which script provided as an alternative to Gnu
> Which uses the syntax:
>
> type -pa | head -n 1 ...

type -p has problems if the command is aliased to something.

--
Tushar Teredesai
   mailto:tushar at linuxfromscratch.org
   http://www.linuxfromscratch.org/~tushar/



More information about the blfs-dev mailing list