Skip to content

Commit b5d7ced

Browse files
committed
the cmd upgrade
1 parent 35d9599 commit b5d7ced

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Temp/bash/cmd.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- [一. 删除缓存](#一-删除缓存)
44
- [1.1. pyc and pycache](#11-pyc-and-pycache)
55
- [1.2. 扩展目录](#12-扩展目录)
6+
- [二. pip](#二-pip)
7+
- [2.1 pip list or freeze](#21-pip-list-or-freeze)
68

79
## 一. 删除缓存
810

@@ -24,3 +26,20 @@ find . -type d -name build -exec rm -r {} +
2426
find . -type d -name dist -exec rm -r {} +
2527
find . -type d -name .tox -exec rm -r {} +
2628
```
29+
30+
## 二. pip
31+
32+
### 2.1 pip list or freeze
33+
34+
```bash
35+
# pip list
36+
pip2 list > ./Temp/txt/pip2_list.txt
37+
pip3 list > ./Temp/txt/pip3_list.txt
38+
pip2 list > ./Temp/txt/2021_pip2_list.txt
39+
pip3 list > ./Temp/txt/2021_pip3_list.txt
40+
# pip freeze
41+
pip2 freeze > ./Temp/txt/pip2_freeze.txt
42+
pip3 freeze > ./Temp/txt/pip3_freeze.txt
43+
pip2 freeze > ./Temp/txt/2021_pip2_freeze.txt
44+
pip3 freeze > ./Temp/txt/2021_pip3_freeze.txt
45+
```

0 commit comments

Comments
 (0)