shell error

Posted muhe221

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了shell error相关的知识,希望对你有一定的参考价值。

shell “syntax error near unexpected token ‘$‘\r‘‘” 错误解决方法

sed ‘s/\r//‘ test_freq.sh >aa.sh

function loop()
{
adb wait-for-device
adb shell setenforce 0
adb shell chmod 777 /d/hisi_lpm3_debug/lpm3_test
adb shell chmod 777 /d/hisi_lpm3_debug/cluster_freq
adb shell chmod 777 /d/hisi_lpm3_debug/cluster_volt

adb shell chmod 777 /sys/devices/system/cpu/cpu0/online
adb shell chmod 777 /sys/devices/system/cpu/cpu1/online
adb shell chmod 777 /sys/devices/system/cpu/cpu2/online
adb shell chmod 777 /sys/devices/system/cpu/cpu3/online
adb shell chmod 777 /sys/devices/system/cpu/cpu4/online
adb shell chmod 777 /sys/devices/system/cpu/cpu5/online
adb shell chmod 777 /sys/devices/system/cpu/cpu6/online
adb shell chmod 777 /sys/devices/system/cpu/cpu7/online

if [ 0 -eq $1 ] ; then
adb shell am start -n com.hust.hoyihu/.MainActivity
fi

ping 127.0.0.1 -n 3 > null
loop 1
}

adb install  Hoyihu_O.apk
adb push test_video.mp4 /storage/sdcard0/

adb reboot bootloader
fastboot oem watchdog ap enable
fastboot getvar nve:[email protected]1111011111101010101111111010011000100110
fastboot oem boot


adb wait-for-device root
adb remount
adb shell setenforce 0
ping 127.0.0.1 -n 14 > null
loop 0

 

以上是关于shell error的主要内容,如果未能解决你的问题,请参考以下文章

连接MySQL出现错误:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)(代码片段

[异常解决] Make nRF51 DFU Project Appear "fatal error: uECC.h: No such file or directory"(代码片段

修改MySQL密码报错“ERROR 1819 (HY000): Your password does not satisfy the current policy requirements“(代码片段

PCL异常处理:pcl 1.8.13rdpartyoostincludeoost-1_64oost ypeofmsvc ypeof_impl.hpp(125): error(代码片段

mvn命令异常:An error has occurred in Javadoc report generation: Unable to find javadoc command异常已解决(代码片段

mvn命令异常:An error has occurred in Javadoc report generation: Unable to find javadoc command异常已解决(代码片段