For all users of the system via the /etc/wgetrc
or for the user only with the ~/.wgetrc
file:
use_proxy=yes
http_proxy=127.0.0.1:8080
https_proxy=127.0.0.1:8080
or via -e
options placed after the URL:
wget ... -e use_proxy=yes -e http_proxy=127.0.0.1:8080 ...
More Related Contents:
- performing HTTP requests with cURL (using PROXY)
- How do I write a bash script to restart a process if it dies?
- How to compare two strings in dot separated version format in Bash?
- Use Expect in a Bash script to provide a password to an SSH command
- How do I analyze a program’s core dump file with GDB when it has command-line parameters?
- What does $@ mean in a shell script?
- Using awk to print all columns from the nth to the last
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- What does localhost means inside a Docker container?
- How can I get unique values from an array in Bash?
- Managing log files created by cron jobs
- Use sudo without password INSIDE a script
- How to redirect HTTPS requests to HTTP without a certificate (Apache VirtualHosts) and avoid a certificate warning
- What is the interface for ARM system calls and where is it defined in the Linux kernel?
- MongoDB Failing to Start – ***aborting after fassert() failure
- Linking 32-bit library to 64-bit program
- How to monitor a complete directory tree for changes in Linux?
- don’t fail jenkins build if execute shell fails
- How do you search for files containing DOS line endings (CRLF) with grep on Linux?
- What is the correct way to start a mongod service on linux / OS X?
- Why is the page size of Linux (x86) 4 KB, how is that calculated?
- send mail from linux terminal in one line [closed]
- multiple websites on nginx & sites-available
- DNS caching in Linux [closed]
- How to convert hex to ASCII characters in the Linux shell?
- How to check if a program is run in Bash on Ubuntu on Windows and not just plain Ubuntu?
- Can I tell Linux not to swap out a particular processes’ memory?
- Proper way to reference files relative to application root in Node.JS
- Why no output is shown when using grep twice?
- What are the rules for valid identifiers (e.g. functions, vars, etc) in Bash?