Quote:
Originally Posted by williamrochira
exec /mnt/us/esys/bin/busybox ash
# # # # <- never reached by **prior** shell and not passed to new.
But echo $PATH returns:
/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/python/bin
So the export PATH=/mnt/us/esys/bin:/mnt/us/esys/usr/bin:$PATH didn't work...
|
The exec shell function does not pass the current command file and the current point of execution in it.
Ah, well, at least the Busybox version 1.17 (or whatever) ash that Amazon uses doesn't.
Hmm...
Maybe passing the new version of ash some argument(s) or option(s) might work.
As in:
exec /mnt/us/esys/bin/busybox ash -l
(-l, "ell" for "login shell" ? - - maybe)
- - - -
Thanks everyone for the help here.