busybox/testsuite/which/which-uses-default-path

5 lines
73 B
Plaintext

BUSYBOX=$(type -p busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls