Skip to content

Instantly share code, notes, and snippets.

@andmax
Last active March 17, 2021 13:37
Show Gist options
  • Save andmax/9bf6edfb41504ba568d655b3d5471708 to your computer and use it in GitHub Desktop.
Save andmax/9bf6edfb41504ba568d655b3d5471708 to your computer and use it in GitHub Desktop.
HTTP(s) Proxy in wget to download XMeters
# Sometimes it is better to use wget to download a file from a link,
# e.g. when an .exe file (such as XMetersSetup to install XMeters on
# windows --- a nice tool to monitor CPU/memory in the taskbar) is
# blocked by clicking on it using the web browser, and then wget
# itself may be blocked by proxy, wget command has several arguments
# to set the proxy using an already set environment variable, via:
wget -e use_proxy=yes -e https_proxy=$https_proxy https://entropy6.com/xmeters/downloads/XMetersSetup.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment