728x90 반응형 Shell3 bash shell for - do loop with awk #] for i in 1 2 3 4 5 6 ; do awk -F " " '/TIME/{print $6, $7, FILENAME}' result${i}.txt >> all_in_one ; done 2014. 6. 27. bash shell for - do loop in command line #] for i in 1 2 3 4 5 6 ; do COMMAND_NAME -p /data/test -d 0 -j ${i} -s 2 -n 1000 > result${i}.txt ; sleep 1 ; done 2014. 6. 27. Android input keyevent with adb shell Reference list of AOSP supported keycode) http://developer.android.com/reference/android/view/KeyEvent.html 0. connect Android Phone with USB to Host PC -. Linked G2 to Ubuntu system. 1. check devicechlrbgh0@Mulder:~$ adb devices List of devices attached 06e3f6e9e0243238device 2. Send keyevent with KEYCODE value to deviceschlrbgh0@Mulder:~$ adb shell input keyevent POWER " or " chlrbgh0@Mulder:~.. 2014. 6. 12. 이전 1 다음 728x90 반응형