2

I want to type multiple adb shell commands in one line,
for example, i want to type adb shell and su and cd sys together. i tried to connect them with && and &
bzw.adb shell && su && cd sys,
but it seems like not work with adb commands, but works with windows commands.
does anybody knows what is the problem?

user3789645
  • 91
  • 1
  • 5

1 Answers1

6

Sovled by myself adb shell "su -c 'cd sys'"

user3789645
  • 91
  • 1
  • 5