自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Linux & Android

  • 博客(9)
  • 收藏
  • 关注

原创 bash 条件表达式

if [ ! -e /system/app/test.apk ];thenelseifConditional Constructs   http://www.gnu.org/software/bash/manual/bashref.html#Conditional-ConstructsBash Conditional Expressions    http://www.gnu.or

2014-01-19 21:37:57 752

原创 Appending Redirected Output

e.g. cat test.sh >> log.logcat test2.sh >> log.log则test.sh和test2.sh的内容合并到log.log中Redirection of output in this fashion causes the file whose name results from the expansion of word

2014-01-19 21:21:34 601

原创 bash并行执行

#!/bin/bashfor ((i=0;i<5;i++));do { sleep 3; echo "done!" } donewait上面这段bash脚本执行一次要耗时3x5=15秒钟 。 但下面这段bash脚本执行完却仅耗时3秒钟#!/bin/bashfor ((i=0;i<5;i++));

2014-01-19 21:01:09 2051

原创 Linux scp 远程拷贝

Linux scp 使用详解scp -r local_folder remote_username@remote_ip:remote_folderscp -r  remote_username@remote_ip:remote_folder   local_folder

2014-01-15 22:40:12 569

原创 dos2unix

sudo apt-get install dos2unix

2014-01-06 10:57:35 516

原创 android用eclipse导入时容易产生bin目录

android用eclipse导入时容易产生bin目录,此时编译时提示如下错误信息:Checking build tools versions...build/core/java.mk:9: *** bin: Target java module does not define any source or resource files.  Stop.解决方法是删除该bin目

2014-01-05 23:16:47 968

原创 设置临时环境变量路径

只在当前终端命令行有效,退出当前终端命令行则失去效力,重新打开一个终端命令行则是整个系统的环境变量路径。export PATH=  清掉路径$PATH    确认当前路径空export PATH=XXX   重新设置路径

2014-01-05 22:33:31 1305

原创 apt-get -f install 和 apt-get update

$sudo apt-get install rpmReading package lists... DoneBuilding dependency tree       Reading state information... DoneYou might want to run 'apt-get -f install' to correct these:The followin

2014-01-05 15:34:58 2460

原创 gcc version is very high

when compile android 4.0 , when gcc version 4.6.3 is very high, it will show error message below, It must use gcc version 4.4 .-------------------------------------------------------------------

2014-01-03 00:06:26 1364

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除