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.
it's automatically using i2p proxy settings. have typecode:me@mycomputer:~$ env | grep proxy http_proxy=http://127.0.0.1:4444/ https_proxy=https://127.0.0.1:4445/
and works again. until close terminal. original proxy settings restored every time.code:unset http_proxy unset https_proxy
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:you use alias this:code:$ nmap -p0 -a --osscan_limit 192.168.0.1aliases limited in power; replacement happens in first word. if want more flexibility, use function. aliases useful simple textual shortcuts.code:$ alias nmapp='nmap -p0 -a --osscan_limit' $ nmapp 192.168.0.1
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
Post a Comment