#!/bin/bash if [ -z "$1" ]; then read -p "Enter URL: " url exec wget $url else exec wget $1 fi