Count size of page in bytes using curl

Count the number of bytes for a web page by using curl.

$ curl --silent "https://www.example.com/" | wc --bytes
1270

Comments

Leave a Reply