1. 查询文件夹file1内文件数量:ls file1 | wc -l

2. 生成文件夹file1内的文件列表:find file1 -type f > list.txt

3. git管理文件,制作删除文件列表:git status | grep "删除" > list.txt

4. 生成file1目录结构:tree file1 -d

5. 查找文件a.py:find ./ -name a.py

6.vim中a替换为b:%s/a/b/g (特殊符号前加 “\”)

……

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-03-03
  • 2021-05-07
  • 2021-04-04
猜你喜欢
  • 2022-12-23
  • 2021-12-08
  • 2021-07-24
  • 2021-09-05
  • 2021-05-26
  • 2022-01-27
  • 2021-12-24
相关资源
相似解决方案