Giter VIP home page Giter VIP logo

doscmdcollect's Introduction

Dow命令收集

1.查看命令所在的路径

where adb

2.给文件重命名

ren dir newName

解释:dir为全路径,后面不能写路径,只能是新名字

例子:ren F:\test\*.txt *.png 把dir目录下的所有以.txt结尾的文件改扩展名为 .png

3.查看已签名的apk的签名信息

例子:keytool -list -printcert -v -jarfile F:\打包\ceshi.apk

4.删除手机上文件

例子 删除手机data/data/com.baidu


adb shell             //切换到shell命令
su                    //切换到用户
cd data               //切换到data目录
chmod 777 data        //修改此data目录下面的data文件权限为rwb
cd data
chmod 777 com.baidu
rm -rR com.baidu      //删除文件夹
rm -f a.txt           //删除文件

5.查看手机某个应用占用内存情况

adb shell dumpsys meminfo packagename -d

doscmdcollect's People

Contributors

ruijiao avatar

Stargazers

MR.LI /MR LEE avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.