1、当前终端:
export ALL_PROXY=socks5://127.0.0.1:1080
export http_proxy=http://localhost:8123
unset http_proxy
git clone xxx --config http.proxy=localhost:8123
2、查看ip:
curl https://ip.cn
curl ip.gs
3、查看磁盘占用情况:
du -lh --max-depth=1
4、sys.path.append("../")
祖父目录下加一个空的__init__.py文件
5、修理磁盘挂载:
sudo lsblk -l
sudo ntfsfix /dev/sda1