Using Axel to Download Password-Protected Files on Linux
One way to download files on Linux through the terminal is by using Axel. The problem arises when the file you want to download requires a username and password. Here’s how to do it:
- Use the following command:
axel -a -n 2 https://username:password@url_file_to_download
If the password contains special characters, enclose the password in quotes, as shown in the example below:
axel -a -n 2 https://username:'p@ssw0rdun!qu3'@url_file_to_download
Source: Stack Overflow
Enjoy Reading This Article?
Here are some more articles you might like to read next: