ubuntu Android : adb logcat 过滤多个log

指定字符串的log,可以用下面的形式,注意加-E和单引号:

adb shell " logcat | grep -E 'strings1|strings2 ' "

参考:Android : adb logcat 过滤多个log 用adb shell " logcat | grep -E 'strings1| strings2 ' " 形式_adb shell logcat grep-CSDN博客

一、有时候想看多个指定字符串的log,可以用下面的形式,注意加-E和单引号:

复制代码
adb shell " logcat | grep -E  'strings1|strings2 '  " 
相关推荐
chlk12319 小时前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
阿巴斯甜19 小时前
Android 报错:Zip file '/Users/lyy/develop/repoAndroidLapp/l-app-android-ble/app/bu
android
舒一笑19 小时前
Ubuntu系统安装CodeX出现问题
linux·后端
Kapaseker19 小时前
实战 Compose 中的 IntrinsicSize
android·kotlin
改一下配置文件20 小时前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
xq952720 小时前
Andorid Google 登录接入文档
android
黄林晴1 天前
告别 Modifier 地狱,Compose 样式系统要变天了
android·android jetpack
深紫色的三北六号1 天前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash1 天前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
冬奇Lab1 天前
Android触摸事件分发、手势识别与输入优化实战
android·源码阅读