Does anyone know how to run commands from an adb shell and stay in a shell session? What I'm trying to achieve is to set aliases in the adb shell.
I tried the following without success
adb shell <<< "ls"
After executing this command, it really remains in the shell, but cannot receive the output of any additional command.
I also tried the following:
adb shell <<EOF ls EOF
with the same result.
source share