Code:
Microsoft Windows [Version 10.0.22621.963]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
D:\_Reader-Smartphone\ADB>adb push alpha.sh /data/local/tmp
alpha.sh: 1 file pushed. 0.0 MB/s (173 bytes in 0.044s)
D:\_Reader-Smartphone\ADB>adb shell
BOOX:/ $ cd /sdcard
BOOX:/sdcard $ cd Test
BOOX:/sdcard/Test $ chmod 755 /data/local/tmp/alpha.sh
BOOX:/sdcard/Test $ data/local/tmp/alpha.sh
/system/bin/sh: data/local/tmp/alpha.sh: inaccessible or not found
127|BOOX:/sdcard/Test $
and now with
Code:
#!/bin/sh
for a in a b c d e f g h i j k l m n o p q r s t u v w x y z; do
i=0; while [ $((i)) -lt 1000 ]; do touch $a$i; i=$(($i+1)); done
time ls -l | wc
done
Code:
Microsoft Windows [Version 10.0.22621.963]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
D:\_Reader-Smartphone\ADB>adb push alpha.sh /data/local/tmp
alpha.sh: 1 file pushed. 0.0 MB/s (166 bytes in 0.029s)
D:\_Reader-Smartphone\ADB>adb shell
BOOX:/ $ cd /sdcard/Test
BOOX:/sdcard/Test $ chmod 755 /data/local/tmp/alpha.sh
BOOX:/sdcard/Test $ /data/local/tmp/alpha.sh
/system/bin/sh: /data/local/tmp/alpha.sh: No such file or directory
1|BOOX:/sdcard/Test $
D:\_Reader-Smartphone\ADB>
inaccessible or not found vs No such file or directory