Generation

linuxTue, 28 Feb 2023

function to get html from Internet with URL param

function gethtml { wget -q --spider $1 if [ $? -eq 0 ]; then wget -q $1 -O - else echo "Invalid URL" fi }

Want to kickstart your project?Use the new AI Studio to create your code