jzztf / wiki

wiki
https://jzztf.github.io
Other
1 stars 0 forks source link

set proxy for terminal #41

Open jzztf opened 6 years ago

jzztf commented 6 years ago

set proxy for terminal

# set the http&https
export https_proxy='http://localhost:44813/'
export http_proxy='http://localhost:44813/'
# check it
env | grep -i proxy

Do not use ping to check it! Ping is not HTTP. Ping is in fact not even TCP. It's a protocol called ICMP.

link: