Bash - Download a file

#!/bin/bash remote_url="https://wordpress.org/latest.zip" local_file="$(pwd)/wordpress_latest.zip" wget -v -O $local_file $remote_url

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.