管道的私用,删除android的流氓
find | grep pixmap |xargs rm -rf
批量删除。。。。。。。
卸载android的流氓软件。。。
./adb root
./adb shell
#cd data
如果我的卸载包名:com.oddyarts.AurumBladeKT 前提 ./adb uninstall com.oddyarts.AurumBladeKT 返回failure......
#find | grep oddyarts |xargs rm -rf
NG
注意只读文件系统。。。。。
# find | grep odd
./com.oddyarts.AurumBladeKT.apk
# rm com.oddyarts.*
rm: remove 'com.oddyarts.AurumBladeKT.apk'? y
rm: can't remove 'com.oddyarts.AurumBladeKT.apk': Read-only file system
# exit
root@liu-laptop:/home/liu/me/android_app/android-sdk-linux/platform-tools# ./adb remount
remount succeeded
root@liu-laptop:/home/liu/me/android_app/android-sdk-linux/platform-tools# ./adb shell
# cd system
# find | grep odd
./app/com.oddyarts.AurumBladeKT.apk
# rm app/com.odd*
1.直接覆盖日志文件
# ls -l | tee ./t.log
# make | tee make.log
2.将输出内容附加到日志文件
# ls -l | tee -a ./t.log
# make image | tee -a make_image.log
find | grep pixmap |xargs rm -rf
批量删除。。。。。。。
卸载android的流氓软件。。。
./adb root
./adb shell
#cd data
如果我的卸载包名:com.oddyarts.AurumBladeKT 前提 ./adb uninstall com.oddyarts.AurumBladeKT 返回failure......
#find | grep oddyarts |xargs rm -rf
NG
注意只读文件系统。。。。。
# find | grep odd
./com.oddyarts.AurumBladeKT.apk
# rm com.oddyarts.*
rm: remove 'com.oddyarts.AurumBladeKT.apk'? y
rm: can't remove 'com.oddyarts.AurumBladeKT.apk': Read-only file system
# exit
root@liu-laptop:/home/liu/me/android_app/android-sdk-linux/platform-tools# ./adb remount
remount succeeded
root@liu-laptop:/home/liu/me/android_app/android-sdk-linux/platform-tools# ./adb shell
# cd system
# find | grep odd
./app/com.oddyarts.AurumBladeKT.apk
# rm app/com.odd*
1.直接覆盖日志文件
# ls -l | tee ./t.log
# make | tee make.log
2.将输出内容附加到日志文件
# ls -l | tee -a ./t.log
# make image | tee -a make_image.log