I set my proxy settings using the following command
export http_proxy=When I do
echo $http_proxyI get
However when I do
unset $http_proxyI get an error
-bash: unset: ` not a valid identifierSo I did
$http_proxy = ""which also gives me the following error
-bash: No such file or directoryHow do I completely remove this proxy setting?
11 Answer
The correct way to use unset is without the $, so you can do the following:
unset http_proxyto unset your proxy settings or you can even use the following:
http_proxy=""Note that there is no space in before and after the =.