adb-shell : /sbin/sh: command: not found

26,961

Recovery has own shell, and many android tools are unavailable in it.

You can't see your files, because you doesn't mount needed partitions. Go to "Mounts & Storage" menu, and select "Mount /data", or type "mount /data" via adb shell. For accessing /system partition you need to do same steps too.

Share:
26,961
hashDefine
Author by

hashDefine

Updated on September 21, 2020

Comments

  • hashDefine
    hashDefine over 3 years

    I've managed to root Google Nexus 7 (2013 Wi-Fi) and install CyanogenMod 10 and clockworkmod recovery v6.0.1.9 following this guide and Everything looks fine.

    Then I downloaded and installed Thinktube image file to allow ad-hoc networking using this link. I am now able to create ad-hoc network in my tablet (not yet tested with other same-model tablets) and I can see the adhoc network from other iOS phones and adnroid 2.1 only. However, I want to make sure that:

    1. do CyanogenMod and Thinktube, together, actually support OLSR rooting protocol or not ?

    2. if not, then I am following this guide to download, install and enable OLSR mode. However, when I am in the Recovery-mode in my tablet, and when i open the adb-shell from my PC, I can list files and browse folders in my tablet normally. But I cannot run any other command on the adb-shell. it always gives me this error:

      /sbin/sh: "any-command-rather-than-ls-&-cd": not found

      what is this error ? and ..

      why when I try to locate the wpa-supplicant in the /data/misc/wifi/ I cannot find it ?