Posts

Showing posts from July 22, 2012

lynx Webmaster Tips

Hi Friends, Today we are going to play with lynx (Command line browser) in Linux.  Fun in the Terminal With Lynx Browser Get the text from a Web page as well as a list of links lynx -dump "http://www.example.com/" Get the source code from a Web page with Lynx lynx -source "http://www.example.com/" Get the response headers with Lynx lynx -dump -head "http://www.example.com/" The GNU/Linux command line gives you a lot of small tools that can be connected with each other by piping the output of one tool into another tool. For example, you might see a page with a lot of links on it that you want to examine more closely. You could open up a terminal and type something like the following: $ lynx -dump "http://www.example.com" | grep -o "http: . *" >f i le . txt That will give you a list of outgoing links on the web page at http://www.example.com, nicely printed to a file called f i le...