随笔分类 -  binary utility

1 2 3 4 下一页

perf
摘要:Compil perf tool and copy it under /system/bin:> make perf> adb remount ; adb push out/target/product//system/bin/perf /system/bin/Top consumer functi... 阅读全文

posted @ 2014-12-13 10:15 阿加

debug with code address and symbols
摘要:Get source code line from Address:> addr2line -e vmlinux -i "8104ede8" > addr2line -f -e symbols/system/lib/libc.so 0001098cDump assembly code [+sourc... 阅读全文

posted @ 2014-12-13 09:56 阿加

shell截取字符串
摘要:请参考:http://www.111cn.net/sys/linux/43822.htm 阅读全文

posted @ 2014-11-28 00:02 阿加

处理 脚本参数
摘要:process.sh#! /bin/bashprocess_arguments(){# echo $@ echo "just" "for" "test"}script.sh#! /bin/bashecho $@source process.shset `process_arguments ... 阅读全文

posted @ 2014-11-22 14:54 阿加

读取用户输入
摘要:from project#! /bin/bashwhile truedo read -p "Do you like it?" yn case $yn in [Yy]* ) break;; [Nn]* ) exit;; * ) ech... 阅读全文

posted @ 2014-11-22 14:50 阿加

循环
摘要:from: 邮件列表#! /bin/bashiline=5for ((iline=0; iline<=5; iline+=1))doecho ${iline}done 阅读全文

posted @ 2014-11-22 14:30 阿加

read line
摘要:因为project的编译脚本总是变化,所以自己看了下,关于如何readline (awk, head, tail……)?看到了这个:#! /bin/bashcurrent_line=""cat $1 | while read current_linedoecho ${current_line}don... 阅读全文

posted @ 2014-11-22 14:27 阿加

parse printk log
摘要:参考:http://www.coder4.com/archives/3838 https://docs.python.org/2/library/struct.html#module-structstruct printk_log { ... 阅读全文

posted @ 2014-11-01 02:07 阿加

shell 数组
摘要:http://blog.chinaunix.net/uid-23500957-id-3791529.html 阅读全文

posted @ 2014-08-12 00:44 阿加

batch
摘要:查看 命令 帮助例如: del /? dir /?百度百科:批处理 (这么多年,第一次在百度上查到有用信息)http://baike.baidu.com/view/80110.htm?fromtitle=.bat&fromid=6476412&type=syn 阅读全文

posted @ 2014-08-12 00:39 阿加

后台运行
摘要:http://blog.sina.com.cn/s/blog_605f5b4f0100x28u.html 阅读全文

posted @ 2014-08-05 17:19 阿加

shell 引号
摘要:shell 中的三引号相当于一个空字符串和一个单独的引号比较:#! /bin/bash"""exec" echo xx "xx"#! /bin/bash"exec" echo "xx" xx 阅读全文

posted @ 2014-07-20 09:52 阿加

shell trap 信号
摘要:trap 捕捉命令,并执行相应的工作。1、trap "" signal-list 忽略该信号2、trap '-' signal-list 恢复信号的默认操作3、trap 'commands' signal-list trap "commands" signal-list4、在trap中可以定义对信号... 阅读全文

posted @ 2014-07-14 18:27 阿加

shell 字符串
摘要:使用 -z:字符串长度位0时,为真;使用 -n : 字符串长度不为0时,为真;看八个示例,以及其执行结果#! /bin/bashmystr=""if [ -n ${mystr} ]then echo "xx"${mystr}"gg"else echo "gg"${mystr}"xx"... 阅读全文

posted @ 2014-07-14 18:24 阿加

c2ph
摘要:http://bolenot.ru/library/cmd/blcmdl1_c2ph.htm?-c2ph---Linux%E5%91%BD%E4%BB%A4--UNIX%E5%91%BD%E4%BB%A4c2ph,pstruct 转储C结构 阅读全文

posted @ 2014-04-28 16:16 阿加

fc-cache fc-list chkfontpath
摘要: 阅读全文

posted @ 2014-04-28 16:15 阿加

sox
摘要:参考自:http://bbs.chinaunix.net/thread-2005749-1-1.html 阅读全文

posted @ 2014-03-17 21:28 阿加

wav 转换到 flac
摘要:参考自:http://so.trust.blog.163.com/blog/static/17188620020127197618621/wav 无损无压缩; flac无损压缩将 wav 转换到 flacffmpeg -i file_name.wav file_name_xx.flac 阅读全文

posted @ 2014-03-06 12:03 阿加

strace ltrace truss
摘要: 阅读全文

posted @ 2014-02-07 14:31 阿加 阅读(90) 评论(0) 推荐(0)

定时执行
摘要:echo "ls -l" | at midnight 在某个事件运行某个命令 阅读全文

posted @ 2014-01-24 14:49 阿加 阅读(126) 评论(0) 推荐(0)

1 2 3 4 下一页

导航