On Fri, Oct 07, 2005 at 02:47:01PM -0400, Stephen Harris wrote: > On Fri, Oct 07, 2005 at 08:14:49PM +0200, Herbert Poetzl wrote: > > hmm, always assumed that the 'which' command is > > part of every distro ... but hey, live and learn, > > maybe somebody has a workaround to avoid 'which'? > > Since you're using bash, use the builtin command "type -p" maybe?
ah, thanks! didn't know this existed :) will try and read up on that ... thanks! Herbert > bash-2.05b$ type -p ls > /bin/ls > bash-2.05b$ type -p nosuchcmd > bash-2.05b$ > > -- > > rgds > Stephen > _______________________________________________ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver