{"id":671,"date":"2010-02-19T12:34:44","date_gmt":"2010-02-19T17:34:44","guid":{"rendered":"http:\/\/nylinuxhelp.com\/blogs\/?p=671"},"modified":"2010-02-19T12:47:43","modified_gmt":"2010-02-19T17:47:43","slug":"favorite-cli-linux-apps-lynx","status":"publish","type":"post","link":"https:\/\/nylinuxhelp.com\/blogs\/command-line\/favorite-cli-linux-apps-lynx","title":{"rendered":"Favorite CLI Linux Apps: Lynx"},"content":{"rendered":"<h2>Lynx is a text-only web browser that runs in the shell.<\/h2>\n<p>Lynx is useful tool for those times when you want to <strong>extract only the web links<\/strong> from a web page.\u00a0 <strong>Install lynx using the Synaptic<\/strong> (or other) package manager.<\/p>\n<p>To view the hyperlinks of a given web page (google.com in this example), issue the command<\/p>\n<pre><span style=\"color: #993300;\">lynx -dump http:\/\/www.google.com<\/span><\/pre>\n<p>It can also behave in a similar way to <strong>wget<\/strong> when you want to view the HTML source code of a web page.\u00a0 The command to view the HTML source code is<\/p>\n<pre><span style=\"color: #993300;\">lynx -source http:\/\/www.example.com<\/span>\r\n<\/pre>\n<p>Click the following link <a title=\"Use lynx and wget to collect web link information\" href=\"\/blogs\/command-line\/download-several-files-part-2\" target=\"_self\">to view a post where we collected links to mp3 files<\/a> to build an unattended download list for the wget command.\u00a0 Another feature of Lynx is that it allows you to view your pages as a web crawler\/robot such as googlebot might see them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lynx is a text-only web browser that runs in the shell. Lynx is useful tool for those times when you want to extract only the web links from a web page.\u00a0 Install lynx using the Synaptic (or other) package manager. To view the hyperlinks of a given web page (google.com in this example), issue the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,7,23,24],"tags":[30,26,50,49,31],"class_list":["post-671","post","type-post","status-publish","format-standard","hentry","category-linux-apps","category-command-line","category-use-linux","category-freedom-choice","tag-apps","tag-commands","tag-console","tag-terminal","tag-wget"],"_links":{"self":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":11,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":697,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/671\/revisions\/697"}],"wp:attachment":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}