>_ IzzyLab

Topic breakdown

Downloading a file over HTTP is a GET request whose body is saved to disk; Linux has two classic tools for this, curl and wget, differing only in syntax. The key detail is the case of the output flag: in curl the output filename is set by -o (lowercase), in wget by -O (uppercase); without it the contents fly off to the terminal. After the download it's worth verifying the file's presence and size (ls -l) and its contents.

What's checked

  1. /root/data.bin downloaded

What it looks like