Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
what is dos command to pring the contents of web page?
Specifically, I want to use a tool like expect to capture the output of the html page that is generated by connecting through port 80 (http) to a site. For which I need to know the command to do it wiht out expect, either in dos (or may be even unix) or any other tool for windows.
Thanks in advance.
Kranthi.
1 Answer
- TheMughalLv 42 decades agoFavorite Answer
You cannt ping an html page, instead you can ping the server:
ping www.yahoo.com
to see the output generated by the webserver simply connect usint telnet
telnet www.yahoo.com 80
80 is port number, after connection, send http request and you ll see the output directly on the console.