0

If I try adb shell $PWD it reads the working directory of the current system and not the adb device.

How can I read the $PWD in the Android device instead via adb?

nj2237
  • 1,220
  • 3
  • 21
  • 25

1 Answers1

2

You should try something like

adb shell 'echo $PWD'

this will expand $PWD to the current working directory in the device.

Lino
  • 5,084
  • 3
  • 21
  • 39