File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ########################################################################
2
+ # File Name: abc.sh
3
+ # Author : oneface
4
+ # mail : one_face@sina.com
5
+ # Company : FBI
6
+ # Time : 2018年05月07日 星期一 19时30分50秒
7
+ # ########################################################################
8
+ #! /bin/bash
9
+ abc=` cat include.sh | grep debug2`
10
+ if [[ -z $abc ]]; then
11
+ echo " -----"
12
+ else
13
+ echo " ++++++"
14
+ fi
Original file line number Diff line number Diff line change
1
+ # ########################################################################
2
+ # File Name: kill.sh
3
+ # Author : oneface
4
+ # mail : one_face@sina.com
5
+ # Company : FBI
6
+ # Time : 2018年05月07日 星期一 19时51分26秒
7
+ # ########################################################################
8
+ #! /bin/bash
9
+ NAME=tail
10
+
11
+ ID=` adb shell ps -ef | grep " $NAME " | grep -v " grep" | awk ' {print $1}' `
12
+ echo ' found ID list:' $ID
13
+ for id in $ID
14
+ do
15
+ # 杀掉进程
16
+ adb shell kill -9 $id
17
+ echo " killed $id "
18
+ done
Original file line number Diff line number Diff line change
1
+ # ########################################################################
66D3
div>
2
+ # File Name: taill.sh
3
+ # Author : oneface
4
+ # mail : one_face@sina.com
5
+ # Company : FBI
6
+ # Time : 2018年05月07日 星期一 20时25分58秒
7
+ # ########################################################################
8
+ #! /bin/bash
9
+
10
+ adb shell tail -f /usr/data/duer/log/dcssdk.log | grep " onKeyWordDetected:小度小度" &
You can’t perform that action at this time.
0 commit comments