在命令行里面使用代理

Posted by Distiny on January 7, 2023
export all_proxy="socks5://127.0.0.1:1080"

可以通过访问cip.cc的结果看有没有OK

curl cip.cc

取消代理

unset all_proxy

摘抄自https://blog.csdn.net/qq_38591130/article/details/125335934