抓包准备1. 手机要有root权限2. 下载tcpdump http://www.strazzere.com/android/tcpdump3.adb push c:\wherever_you_put\tcpdump/data/local/tcpdump4.adb shell chmod 6755 ...
分类:
移动开发 时间:
2014-06-27 16:54:19
阅读次数:
320
linux中shell变量$#,$@,$0,$1,$2的含义解释:变量说明:$$Shell本身的PID(ProcessID)$!Shell最后运行的后台Process的PID$?最后运行的命令的结束代码(返回值)$-使用Set命令设定的Flag一览$*所有参数列表。如"$*"用「"」括起来的情况、以...
分类:
系统相关 时间:
2014-06-27 16:32:52
阅读次数:
423
打开cmd进入安卓 SDK的'Platform tools'输入'adb shell'suPress 'Allow' on device(必须已经root)chmod 777 /data /data/data /data/data/com.application.package(你的包名 也就是sr...
分类:
移动开发 时间:
2014-06-27 16:15:54
阅读次数:
302
答案1:The shell is a typical Unix program. It reads commands from the standard input and prints something on the standard output. This is simple and goo...
分类:
其他好文 时间:
2014-06-27 16:12:37
阅读次数:
260
生活在 Bash shell 中,熟记以下快捷键,将极大的提高你的命令行操作效率。编辑命令Ctrl + a :移到命令行首Ctrl + e :移到命令行尾Ctrl + f :按字符前移(右向)Ctrl + b :按字符后移(左向)Alt + f :按单词前移(右向)Alt + b :按单词后移(左向...
分类:
其他好文 时间:
2014-06-27 15:08:30
阅读次数:
139
温馨提示 首先要安装postfix 或者 sendmail 等邮件服务器1.Apache#!/bin/bash#apache.shnc -w2 localhost 80 if[ $? -ne 0 ]then echo "apache is down,please check" | mail us.....
分类:
其他好文 时间:
2014-06-27 15:03:59
阅读次数:
256
1.基本的,eclipse的特色CTRL + D 删除当前行ALT + Up/Down 上移 下移当前行CTRL+ALT+UP/DOWN 复制当前行,并粘贴到下一行。如果选中了多行(可按下shift+up/down选中多行),一次复制粘贴多行。eclipse经典快捷键,一定要学会!ALT + Left/Right eclipse记住了你编辑的地方,按下这两个键可以在历史编辑处来回跳转。同时编辑多个...
分类:
系统相关 时间:
2014-06-27 09:24:51
阅读次数:
286
keycode 8 = BackSpace BackSpace
keycode 9 = Tab Tab
keycode 12 = Clear
keycode 13 = Enter
keycode 16 = Shift_L
keycode 17 = Control_L
keycode 18 = Alt_L
keycode 19 = Pause
ke...
分类:
编程语言 时间:
2014-06-27 09:17:42
阅读次数:
301
/* ---------------------------------------自理解----------------------------------------*/
ctrl+shift+T //查找当前工程下的某个类 实时提示
ctrl+shift+R//查找当前工程下的某个文件 实时提示
ctrl+/添加注释
/* ------------------...
分类:
系统相关 时间:
2014-06-27 07:54:16
阅读次数:
258
#!/bin/bashsed-n‘/01/,/02/p‘y.log>01.txtsed-n‘/02/,/03/p‘y.log>02.txtsed-n‘/03/,/04/p‘y.log>03.txt#截取y.log文件中从文字01到02之间的内容到文件01.txt中。下同。这个不是按行截取,而是跟据字的内容来截龋
分类:
其他好文 时间:
2014-06-27 07:01:07
阅读次数:
130