#create avd
./android create avd -n big0 -s 800x480 -t 1 -f -c 128M
#replace string in files
sed -i "s/xxx/yyy/g" `grep xxx -rl ./src`
#ssh
ssh android@192.168.1.75
scp -r android@192.168.1.75:/home/android ./
ywzx75
#File Size:
du -slh
tar -zcvf des res
tar -zxvf
#The modify file in last 24 hours .
find . -mtime -1 -type f -print
#The modify file in last 10 min .
find . -amin -10
#find file size more than 10000c
find . -size +10000c
find . -atime -5 /( -name "*.java" -o -name "*.xml" /) -exec grep "xxxx"
{} +
find . -name "*.xml" -o -name "*.c"
find . -name "*.java" -exec rm -fr {} +
# sort
ls -l |sort -k 5n
/**------adh cmd----*/
adb shell dumpsys meminfo -head 10
adb shell procrank
adb logcat tag:e
/**-------------------*/
svn import --no-ignore
/** android build **/
mm
mmm pacakage/apps/Music
croot
#find string "xxx" in java file .
jgrep "xxx"
cgrep
resgrep
//mount sdcard.img to local linux os
mount -o loop sdcard.img ./tmp
http://im.qq.com/qq/linux/download.shtml
sudo dpkg -i *.deb
make snod -j2
# make passion image
sudo ./mk-sd.sh -all -n /dev/sdb