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:

  1. 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:

  • Satu EFI untuk Dua Operating System (Ubuntu 24.04 dan Windows 11) pada dua disk yang berbeda
  • Akses internet ITS melalui myITS-WiFi di Ubuntu
  • Menampilkan Label LaTeX di Matplotlib