记录Linux下常用的命令

彦祖 121

tar 大文件 压缩打包 指定目录

tar -zcvf /wwww/test.tar.gz /wwww/wwwroot

pip (python) 记录

更换为国内源

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

git clone 代理

git config --global http.proxy http://localhost:4780
git config --global https.proxy http://localhost:4780

关闭proxy

git config --global --unset http.proxy
git config --global --unset https.proxy

分享