Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-04-28 11:36:11 +0200 \ Peter Kruse: > Lars Ellenberg wrote: > > > >>Why not use 'which' to check if 'ip' is installed, and then if > >>'ifconfig' is installed... as a side benefit this approach also caters > >>for non-standard installation locations. Eg. > > > > > >everyone happy with this? > > > > please use `type -p' not `which'. `type' is a builtin while `which' > on my system is a shell script. $ type -a which which is aliased to `type -p' which is /usr/bin/which :) okok...