windows系统下的一些随笔

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_38981172/article/details/88905232

windows CMD下查询IP地址:ipconfig

Windows CMD下查询哪个进程占用端口:

                 1、查询进程号PID:netstat -aon|findstr "【端口号】"

                  2、根据PID查询进程:tasklist|findstr "【端口号】"

Windows下gitbash中文乱码:gitbash窗口右击options选项-txt-(locale = zh_CN   character set = GBK)

windows CMD下利用adb工具查询app包信息:aapt dump 命令 包名

                aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
                badging          Print the label and icon for the app declared in APK.
               permissions      Print the permissions from the APK.
               resources        Print the resource table from the APK.
                configurations   Print the configurations in the APK.
               xmltree          Print the compiled xmls in the given assets.
               xmlstrings       Print the strings of the given compiled xml assets.

windows CMD下查询指定字符串:findstr(类似与Linux下的grep)

猜你喜欢

转载自blog.csdn.net/weixin_38981172/article/details/88905232