I wanted to update the
PATH
environment variable permanently in the **adb shell**. I guessed the shell was mksh
for I've found /system/bin/sh
pointing to /system/bin/mksh
. Then I tried
- Making a new file /data/.mkshrc
and adding the PATH
definition into it.
- Copy the above file into /
.
- Copy to /root
.
But all attempts failed.
Asked by Shawn Xie
(171 rep)
Sep 17, 2013, 10:02 AM
Last activity: Apr 2, 2016, 08:50 PM
Last activity: Apr 2, 2016, 08:50 PM