Answer the question
In order to leave comments, you need to log in
Linux, Bash, How to pass commands to another console and then close it?
How to pass commands to another console and then close it?
Here is an example:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 644 "/system/app/Superuser.apk"
chmod 777 "/system/bin/su"
chmod 777 "/system/ xbin/su"
exit
exit
I write everything in bash
but for some reason I don't understand what commands are executed in the current bash but not in the adb shell console how can I fix this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question