Introduction
There are times when you may want to use a username and password with wget to download a page. wget has built-in switches to handle both the username and password.
Procedure
To specify a username and password, use the --user
and --password
switches. This can be shown in the following example:
wget --user user --password pass http://example.com/
The man page for wget can be found below:
https://linux.die.net/man/1/wget
Comments
0 comments
Article is closed for comments.