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
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment