最近在做软件测试工作,测试了一款跑在Linux系统上的APP,其中用到了一些“串口指令”,也是Linux方面的shell命令吧。
1.查看logcat:logcat -v time
2.查看GPS的log:logcat -s athr gps 或 logcat -s gps
3.查看安卓的log:logcat -s Doing
4.查看CPU的占用率:top -m 10(10是指查看的最大进程条数)
5.查看磁盘的容量:df
6.查看网络连接情况:netcfg(centOS不适用)
7.显示当前目录:ls
8.查看权限:ls -l
9.查看当前进程:ps
10.删除压缩包:unzip xxx.zip
Linux的一些shell命令
最新推荐文章于 2022-01-08 00:55:52 发布