Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
有没有啥简单办法能让Terminal永远自由的使用互联网?
Community Discussion
985
views ·
3
replies ·
To
floor
Go
wksd
deepin
2019-08-15 05:32
Author
???
现在的方法没开一个新窗口就得输入一条,有点麻烦,
Reply
Like 0
Favorite
View the author
All Replies
lookfor
deepin
2019-08-15 06:10
#1
写到 .bashrc里
Reply
Like 0
View the author
187******09
deepin
2019-08-15 17:46
#2
alias on="export http_proxy=http://127.0.0.1:8118 https_proxy=http://127.0.0.1:8118"
alias off="unset http_proxy https_proxy"
Copy the Code
on 打开,off 关闭。把第一行`alias on=`和双引号都去掉,只保留引号里的东西新开终端就是默认开启的,然后 off 关闭。
至于具体参数,看你自己的配置
Reply
Like 0
View the author
aida
deepin
2019-08-15 18:06
#3
env all_proxy=socks5://127.0.0.1:1234
或者使用proxychains
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
My beautiful Deepin-colored stock chart theme
deepin 23 internal testing update on November 15, 2024
Update Announcement for deepin 23 Official Version on 11.14, 2024
presentation mode
System analyst
default DEEPIN 23 Browser stops working
Popular Events
More
现在的方法没开一个新窗口就得输入一条,有点麻烦,