Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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. thanks, Peter -- Peter Kruse <pk at q-leap.com>, Chief Software Architect Q-Leap Networks GmbH phone: +497071-703171, mobile: +49172-6340044