The best command line download utility [ aria2 ]

Yes, this is a good idea to drop a post about. What is my personally favourite told to download files on any terminal/command line.
There is no doubt about it always go with aria2, ok there are very rare cases I need to use wget.

aria2 is the best too you can have, it can download everything, you name it (even magnet links faster than any client).
Anyway, we are not here about to talk about downloading any illegal copyrighted torrent files, I’m just saying it can, and does it fast.
I strongly recommend you reading its documentation before you say it’s useless.

Just an example let’s say you want to download a t0rr3nt file. Probably 99% you will end up with an error message, it’s all because you don’t know the command.
Ok here is the right one [the magnet link goes between those “”]:
aria2c –enable-dht=true “magnet:?xt=urn:btih:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
This will work, but if you ever attempt such things, do not forget about encryption! Encrypt the whole payload using ARC4.

OK, I already crossed the line with the stuff above there are actually totally other reason why I am using it. Just few really common once:

  • HTTP/FTP/SFTP Options
  • HTTP Specific Options
  • FTP/SFTP Specific Options
  • Metalink Specific Options
  • RPC Options
  • Resuming Download
  • Event Hook
  • aria2 is the download utility I am using on command line.
    aria2 On Black Duck Open Hub

    for example, on my mac I have created aria2.conf file under /Users/yourusername/.aria2/aria2.conf and added the following line.
    file-allocation=trunc instead of file-allocation=none.

    You can add many useful things. Soon, I will add a list in my next post.

    Using trunc seemingly allocates disk space very quickly, but what it actually does is that it sets file length metadata in file system, and does not allocate disk space at all. This means that it does not help avoiding fragmentation.

    How to Enable and Disable Root Login in Ubuntu [for those 32 individuals asked this in the last 12 months]

    OK, well, this is not one of those post I’d like to publish, but just counted how many time people asked this question in the last 12 months. I found 32 emails.
    I’ll give you the simplest, permanent UNSAFE solution. Use this if you need after finishing you server installation.DO NOT LEAVE ENABLED ON A LIVE RUNNING SERVER.
    There are options to enable it temporarily, or set and expire time.
    Be safe!

    How to login and connect to NordVPN on Ubuntu Server

    Installing the latest NordVPN by opening the terminal, writing the command below, and following any on-screen instructions:

    sh <(curl -sSf

    Note: If you do not have a curl package, evidenced by the fact that the above does not work, you can alternatively use this command:

    sh <(wget -qO -

    Additionally, if you receive the following issue:
    Whoops! Permission denied accessing /run/nordvpn/nordvpnd.sock, all you need to do is write the following command:

    sudo usermod -aG nordvpn $USER # and then reboot your device.

    After installing NordVPN Linux Client you might get the following message when you try to login “nordvpn login”:
    Continue in the browser

    server@server:~$ nordvpn login
    Continue in the browser:……

    There is a simple solution:
    nordvpn login –legacy

    server@server:~$ nordvpn login –legacy
    Please enter your login details.

    or even:
    nordvpn login –username username –password password

    How to disable the automatic ZFS snapshots on Ubuntu 20.04 with ZFS

    Disable user snapshots

    Disable system snapshots

    Re-enable user snapshots

    Re-enable system snapshots