安卓 recovery 模式下用 adb shell 连接,运行自定义的 he.sh 失败,提示 not found :
# ./he.sh
/sbin/sh: ./he.sh: not found
he.sh 文件内容( Unix LF ):
```bash
!/bin/bash
echo "hello world!"
```
权限设置:
# ls -l *.sh
-rwxr-xr-x 1 root shell 32 Dec 18 06:04 he.sh
-rwxr-xr-x 1 root shell 1918 Aug 1 2008 wifi-cal.sh
wifi-cal.sh 是自带的,可以运行; he.sh 自己丢过去的,提示 not found 。
请问这是哪里出了问题?如何解决?
P.S. 自己扔进去的二进制文件设置对应的权限后可以运行。