ideallove

ideallove

在终端中使用代理网络

Linux 终端#

Linux 上的 v2rayA

  • 为当前 shell 单次使用代理
export http_proxy="http://127.0.0.1:20171"
export https_proxy="http://127.0.0.1:20171"
  • 检查是否成功
echo $http_proxy
echo $https_proxy

Windows 终端#

Windows 上的 Clash

  • 当前 shell
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTPS_PROXY="http://127.0.0.1:7890"
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:7890

参考资料#

https://www.cnblogs.com/xch-jiang/p/14324636.html

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。