linux常用命令

#不重启调试systemUI
adb shell ps |findstr systemui
adb shell kill [pid]

#adb remount
adb root & adb remount

#查看文件夹大小
du -sh [dirname]

#Linux查找文件的命令
find /path/to/search -name "filename"
find /path/to/search -name "*filename*"
ls /path/to/search/*filename*

#搜索文本文件中的特定字符串,用选项-r可以递归搜索指定路径下的所有文件
grep -r "filename" /path/to/search

#git退出命令交互模式
ctrl+x

#git drop B commit
git log --oneline
git rebase -i <hash-of-commit-before-the-one-to-drop>
pick Your recent commit message
drop 3f4h6j9 The commit message of the commit you want to drop
ctrl+x(exit with save)

相关推荐

  1. Linux命令

    2024-03-27 18:58:01       51 阅读
  2. Linux 命令

    2024-03-27 18:58:01       64 阅读
  3. Linux命令

    2024-03-27 18:58:01       55 阅读
  4. linux命令

    2024-03-27 18:58:01       59 阅读
  5. Linux命令

    2024-03-27 18:58:01       55 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-27 18:58:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-27 18:58:01       100 阅读
  3. 在Django里面运行非项目文件

    2024-03-27 18:58:01       82 阅读
  4. Python语言-面向对象

    2024-03-27 18:58:01       91 阅读

热门阅读

  1. 东方 - 分支(2) - 多分支

    2024-03-27 18:58:01       34 阅读
  2. python ch10 文件和异常

    2024-03-27 18:58:01       40 阅读
  3. node整理学习(三)

    2024-03-27 18:58:01       38 阅读
  4. 海思 Hi3403V100 简介

    2024-03-27 18:58:01       85 阅读
  5. Idea与DataGrip各版本通用破解码,无需脚本。

    2024-03-27 18:58:01       110 阅读
  6. 深入理解 LVS:配置与应用详解

    2024-03-27 18:58:01       46 阅读
  7. 单位里,永远要记住这些残忍的处事之道!

    2024-03-27 18:58:01       34 阅读
  8. Linux安装程序

    2024-03-27 18:58:01       43 阅读
  9. Linux UVC Gadget Driver开发

    2024-03-27 18:58:01       40 阅读
  10. c#委托案例

    2024-03-27 18:58:01       38 阅读