Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Install and Use wget and curl

wget and curl fetch files and talk to APIs from the shell. On a VPS you will use them for ISOs, scripts, health checks and HTTP debugging.

Steps

  1. Install both tools (Ubuntu/Debian):

    sudo apt update
    sudo apt install -y wget curl
  2. Download a file with wget (follows redirects, shows progress):

    wget -O file.zip "https://example.com/file.zip"
  3. With curl, save the body and print the HTTP status:

    curl -L -o file.zip -w "%{http_code}\n" "https://example.com/file.zip"
  4. Probe an API or health endpoint (headers + body):

    curl -i https://example.com/health

Tips

  • Prefer curl -f in scripts so non-2xx responses fail the command.
  • Do not paste tokens into shell history: use env vars or 600-permission files.

ext step

Root shell ready in minutes: Deploy your Cloud VPS.

Related guides