Skip to main content

Thread: How do I "unset env proxy" permanently.


i have minor annoyance thought ask advice on.

when open terminal, whenever try wget, apt-get, or requires internet access, tell me "error: connection refused"

know problem , have half-assed solution.
code:
me@mycomputer:~$ env | grep proxy http_proxy=http://127.0.0.1:4444/ https_proxy=https://127.0.0.1:4445/
it's automatically using i2p proxy settings. have type
code:
unset http_proxy unset https_proxy
and works again. until close terminal. original proxy settings restored every time.

annoying. wise man once said, there's shell, there's way. easy, please chime in! do?

quote posted kebertx view post
i have minor annoyance thought ask advice on.

when open terminal, whenever try wget, apt-get, or requires internet access, tell me "error: connection refused"

know problem , have half-assed solution.
code:
me@mycomputer:~$ env | grep proxy  http_proxy=http://127.0.0.1:4444/  https_proxy=https://127.0.0.1:4445/
it's automatically using i2p proxy settings. have type
code:
unset http_proxy  unset https_proxy
and works again. until close terminal. original proxy settings restored every time.

annoying. wise man once said, there's shell, there's way. easy, please chime in! do?

there great thing called alias put .bashrc
file can find out more here
types of commands
aliases: aliases way of shortening commands. used in interactive shells, not in scripts. (this 1 of few differences between script , interactive shell.) alias name mapped string. whenever name used command name, replaced string before executing command. so, instead of executing:
code:
  $ nmap -p0 -a --osscan_limit 192.168.0.1
you use alias this:
code:
  $ alias nmapp='nmap -p0 -a --osscan_limit'    $ nmapp 192.168.0.1
aliases limited in power; replacement happens in first word. if want more flexibility, use function. aliases useful simple textual shortcuts.

please see http://mywiki.wooledge.org/bashguide...dsandarguments


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How do I "unset env proxy" permanently.


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support