常用命令行

2023-03-20  本文已影响0人  房房1524

1. grep

  1. ls | grep regular 单词搜索
  2. ls | grep ’regular‘ 文本字符串搜索
  3. $ grep 'Class 1' Students.txt 文件中搜索
  4. grep -e

[-A num] [-B num] [-C[num]]

  1. -i 忽略大小写
  2. [-e pattern]
  3. [-f file]

2. adb shell dumpsys activity

3, adb shell

adb shell am start -d "wemeet://page/external_link?scheme=https&url=https://www.qq.com/&navgitaion_none=1"

git

删除分支

  1. git branch | grep 'bugfix*' | xargs git branch -d
上一篇 下一篇

猜你喜欢

热点阅读