#!/bin/bash # Define the URL of the webpage URL="https://pl.wikipedia.org/wiki/Bateria_3R12" # Define the output file path # This assumes your desktop is located at ~/Desktop OUTPUT_FILE="$HOME/Desktop/Bateria_3R12.html" # Use curl to download the webpage and save it as an HTML file curl -o "$OUTPUT_FILE" "$URL" # Notify the user echo "Webpage downloaded and saved to $OUTPUT_FILE"