
curl https://example.comThis will fetch the HTML of example.com and print it to the console
curl -o example.html https://example.comThis creates example.html in the workspace
<!doctype html> <html lang="en"> <head> <title>Example Domain</title> ...
<!doctype html> <html lang="en"> <head> <title>Example Domain</title> <meta> tags <style> → CSS styling </head> <body> <h1>Example Domain</h1> <p>This domain is for use in documentation examples without needing
permission.</p> <p><a href="https://iana.org/domains/example">Learn more</a></p> </body> </html>








