BUSYBOX=$(type -p busybox) echo $BUSYBOX SAVED_PATH=$PATH unset PATH $BUSYBOX which ls STATUS=$? export PATH=$SAVED_PATH return $STATUS