Removing proxy settings on ubuntu 12.04

I had a proxy server when I used my college WiFi. Later I disabled it through the system GUI. However, when I tried to clone the github repository on the terminal, it failed due to a connection timeout. Although the proxy is disabled when I ran this code in the terminal,

env | grep -i proxy

He showed it

http_proxy=http://172.16.0.16:8080/
UBUNTU_MENUPROXY=libappmenu.so
https_proxy=https://172.16.0.16:8080/

I assume this means that the proxy settings are still active. Please tell me how to get rid of this, since my current Internet connection does not have a proxy, and because of this I can not use github through the terminal.

+4
source share
1 answer

:
(man unset)

unset http_proxy
unset https_proxy

~/.profile ~/.bashrc, .

: /etc/environment /etc/profile.d.

+6

Source: https://habr.com/ru/post/1544577/


All Articles