🌐 Web Downloads with Wget and cURL

🌐 Web Downloads with wget and curl

Two of the handiest tools for downloading stuff from the web on Linux are:

  • 🧲 wget

  • πŸŒ€ curl

These little command-line wizards are pre-installed on many Linux distros and are awesome for grabbing files directly from the internet!


🧲 Downloading with wget

z3tssu@htb[/htb]$ wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh -O /tmp/LinEnum.sh

πŸŒ€ Downloading with curl

z3tssu@htb[/htb]$ curl -o /tmp/LinEnum.sh https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh

πŸ’‘ Quick Tip

Want to check if a tool is installed?

which wget
which curl

πŸ” If it's not installed, just do:

Last updated