{"id":12479,"date":"2019-03-27T03:04:21","date_gmt":"2019-03-27T03:04:21","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12479"},"modified":"2019-03-27T03:04:21","modified_gmt":"2019-03-27T03:04:21","slug":"8-command-line-tools-for-browsing-websites-and-downloading-files-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/27\/8-command-line-tools-for-browsing-websites-and-downloading-files-in-linux\/","title":{"rendered":"8 Command Line Tools for Browsing Websites and Downloading Files in Linux"},"content":{"rendered":"<p>In the last article, we have covered few useful tools like \u2018<strong>rTorrent<\/strong>\u2018, \u2018<strong>wget<\/strong>\u2018, \u2018<strong>cURL<\/strong>\u2018, \u2018<strong>w3m<\/strong>\u2018, and \u2018<strong>Elinks<\/strong>\u2018. We got lots of response to cover few other tools of same genre, if you\u2019ve missed the first part you can go through it..<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/linux-command-line-tools-for-downloading-files\/\" target=\"_blank\" rel=\"noopener\">5 Command Line Tools for Downloading Files and Browsing Websites<\/a><\/li>\n<\/ol>\n<p>This article aims at making you aware of several other Linux command Line browsing and downloading applications, which will help you to browse and download files within the Linux shell.<\/p>\n<h3>1. links<\/h3>\n<p><strong>Links<\/strong>\u00a0is an open source web browser written in C programming Language. It is available for all major platforms viz., Linux, Windows, OS X and OS\/2. This browser is text based as well as graphical. The text based links web browser is shipped by most of the standard Linux distributions by default. If links is not installed in your system by default you may install it from the repo. Elinks is a fork of links.<\/p>\n<pre># apt-get install links\r\n# yum install links\r\n<\/pre>\n<p>After installing links, you can browse any websites within the terminal as shown below in the screen cast..<\/p>\n<pre># links www.tecmint.com<\/pre>\n<p>Use\u00a0<strong>UP<\/strong>\u00a0and\u00a0<strong>DOWN<\/strong>\u00a0arrow keys to navigate.\u00a0<strong>Right<\/strong>\u00a0arrow Key on a link will redirect you to that link and\u00a0<strong>Left<\/strong>\u00a0arrow key will bring you back to the last page. To\u00a0<strong>QUIT<\/strong>\u00a0press\u00a0<strong>q<\/strong>.<\/p>\n<p>Here is how it seems to access Tecmint using links tool.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/links-browse-websites-terminal.gif\"><img decoding=\"async\" class=\"size-medium wp-image-12492\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/links-browse-websites-terminal.gif\" alt=\"links: Commandline Web Browsing\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>If you are interested in installing GUI of links, you may need to download latest source tarball (i.e. version 2.9) from\u00a0<a title=\"Download and Install links in Linux\" href=\"http:\/\/links.twibright.com\/download\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/links.twibright.com\/download\/<\/a>.<\/p>\n<p>Alternatively, you may use following\u00a0<strong>wget<\/strong>\u00a0command to download and install as suggested below.<\/p>\n<pre># wget http:\/\/links.twibright.com\/download\/links-2.9.tar.gz\r\n# tar -xvf links-2.9.tar.gz\r\n# cd links-2.9\r\n# .\/configure \u2013enable-graphics\r\n# make\r\n# make install\r\n<\/pre>\n<p><strong>Note:<\/strong>\u00a0You need to install packages (libpng, libjpeg, TIFF library, SVGAlib, XFree86, C Compiler and make), if not already installed to successfully compile the package.<\/p>\n<h3>2. links2<\/h3>\n<p><strong>Links2<\/strong>\u00a0is a graphical web browser version of Twibright Labs Links web browser. This browser has support for mouse and clicks. Designed specially for speed without any CSS support, fairly good HTML and JavaScript support with limitations.<\/p>\n<p>To install links2.<\/p>\n<pre># apt-get install links2\r\n# yum install links2\r\n<\/pre>\n<h3>3. lynx<\/h3>\n<p>A text based web browser released under GNU GPLv2 license and written in ISO C. lynx is highly configurable web browser and Savior for many SYSAdmin. It has the reputation of being the oldest web browser that is being used and still actively developed.<\/p>\n<p>To install lynx.<\/p>\n<pre># apt-get install lynx\r\n# yum install lynx\r\n<\/pre>\n<p>After installing lynx, type the following command to browse the website as shown below in the screen cast..<\/p>\n<pre># lynx www.tecmint.com\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/lynx-commandline-web-browsing.gif\"><img decoding=\"async\" class=\"size-medium wp-image-12494\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/lynx-commandline-web-browsing.gif\" alt=\"lynx: Command Line Web Browsing\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>If you are interested in knowing a bit more about links and lynx web browser, you may like to visit the below link:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/command-line-web-browsers\/\" target=\"_blank\" rel=\"noopener\">Web Browsing with Lynx and Links Command Line Tools<\/a><\/li>\n<\/ol>\n<h3>4. youtube-dl<\/h3>\n<p><strong>youtube-dl<\/strong>\u00a0is a platform independent application which can be used to download videos from youtube and a few other sites. Written primarily in python and released under GNU GPL License, the application works out of the box. (Since youtube don\u2019t allow you to download videos, it may be illegal to use it. Check the laws before you start using this.)<\/p>\n<p>To install youtube-dl.<\/p>\n<pre># apt-get install youtube-dl\r\n# yum install youtube-dl\r\n<\/pre>\n<p>After installing, try to download files from the Youtube site, as shown in the below screen cast.<\/p>\n<pre># youtube-dl https:\/\/www.youtube.com\/watch?v=ql4SEy_4xws\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/download-youtube-videos-from-terminal.gif\"><img decoding=\"async\" class=\"size-medium wp-image-12495\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/download-youtube-videos-from-terminal.gif\" alt=\"youtube-dl: Download Youtube Videos in Commandline\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>If you are interested in knowing more about\u00a0<strong>youtube-dl<\/strong>\u00a0you may like to visit the below link:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-youtube-dl-command-line-video-download-tool\/\" target=\"_blank\" rel=\"noopener\">YouTube-DL \u2013 A Command Line Youtube Video Downloader for Linux<\/a><\/li>\n<\/ol>\n<h3>5. fetch<\/h3>\n<p>It is a command utility for unix-like operating system that is used for URL retrieval. It supports a lot of options like fetching ipv4 only address, ipv6 only address, no redirect, exit after successful file retrieval request, retry, etc.<\/p>\n<p>Fetch can be Downloaded and installed from the link below<\/p>\n<p><a href=\"https:\/\/sourceforge.net\/projects\/fetch\/?source=typ_redirect\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/sourceforge.net\/projects\/fetch\/?source=typ_redirect<\/a><\/p>\n<p>But before you compile and run it, you should install HTTP Fetcher. Download HTTP Fetcher from the link below.<\/p>\n<p><a href=\"https:\/\/sourceforge.net\/projects\/http-fetcher\/?source=typ_redirect\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/sourceforge.net\/projects\/http-fetcher\/?source=typ_redirect<\/a><\/p>\n<h3>6. Axel<\/h3>\n<p><strong>Axel<\/strong>\u00a0is a command-line based download accelerator for Linux. Axel makes it possible to download a file at much faster speed through single connection request for multiple copies of files in small chunks through multiple http and ftp connections.<\/p>\n<p>To install Axel.<\/p>\n<pre># apt-get install axel\r\n# yum install axel\r\n<\/pre>\n<p>After axel installed, you may use following command to download any given file, as shown in the screen cast.<\/p>\n<pre># axel http:\/\/mirror.cse.iitk.ac.in\/archlinux\/iso\/2015.04.01\/archlinux-2015.04.01-dual.iso<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/download-accelarator-for-linux.gif\"><img decoding=\"async\" class=\"size-medium wp-image-12496\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/download-accelarator-for-linux.gif\" alt=\"Commandline File Download Accelerator for Linux\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h3>7. aria2<\/h3>\n<p><strong>aria2<\/strong>\u00a0is a command-line based download utility that is lightweight and support multi-protocol (HTTP, HTTPS, FTP, BitTorrent and Metalink). It can use metalinks files to simultaneously download ISO files from more than one server. It can serve as a Bit torrent client as well.<\/p>\n<p>To install aria2.<\/p>\n<pre># apt-get install aria2\r\n# yum install aria2\r\n<\/pre>\n<p>Once aria2 installed, you can fire up the following command to download any given file\u2026<\/p>\n<pre># aria2c http:\/\/cdimage.debian.org\/debian-cd\/7.8.0\/multi-arch\/iso-cd\/debian-7.8.0-amd64-i386-netinst.iso\r\n<\/pre>\n<div id=\"attachment_12501\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/Download-Files-in-Terminal.gif\"><img decoding=\"async\" class=\"size-medium wp-image-12501\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/Download-Files-in-Terminal.gif\" alt=\"Aria2: Command Line Download Manager for Linux\" aria-describedby=\"caption-attachment-12501\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-12501\" class=\"wp-caption-text\">Aria2: Command Line Download Manager for Linux<\/p>\n<\/div>\n<p>If you\u2019re interested to know more at aria2 and their switches, read the following article.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-aria2-a-multi-protocol-command-line-download-manager-in-rhel-centos-fedora\/\" target=\"_blank\" rel=\"noopener\">Aria2 \u2013 A Multi-Protocol Command-Line Download Manager for Linux<\/a><\/li>\n<\/ol>\n<h3>8. w3m<\/h3>\n<p><strong>w3m<\/strong>\u00a0is a another open source text-based web browser very similar to\u00a0<strong>lynx<\/strong>, which runs on a terminal. It uses\u00a0<strong>emacs-w3m<\/strong>\u00a0an Emacs interface for w3m to browse web sites within emacs interface.<\/p>\n<p>To install w3m.<\/p>\n<pre># apt-get install w3m\r\n# yum install w3m\r\n<\/pre>\n<p>After installing w3m, fire up the following command to browse the website as shown below.<\/p>\n<pre># w3m www.tecmint.com\r\n<\/pre>\n<div id=\"attachment_18091\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/w3m-terminal-browser.gif\" rel=\"attachment wp-att-18091\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18091\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/w3m-terminal-browser.gif\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/w3m-terminal-browser.gif 893w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/04\/w3m-terminal-browser-768x394.gif 768w\" alt=\"w3m Terminal Browser\" width=\"893\" height=\"458\" aria-describedby=\"caption-attachment-18091\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18091\" class=\"wp-caption-text\">w3m Terminal Browser<\/p>\n<\/div>\n<p>That\u2019s all for now.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/command-line-web-browser-download-file-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last article, we have covered few useful tools like \u2018rTorrent\u2018, \u2018wget\u2018, \u2018cURL\u2018, \u2018w3m\u2018, and \u2018Elinks\u2018. We got lots of response to cover few other tools of same genre, if you\u2019ve missed the first part you can go through it.. 5 Command Line Tools for Downloading Files and Browsing Websites This article aims at &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/27\/8-command-line-tools-for-browsing-websites-and-downloading-files-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;8 Command Line Tools for Browsing Websites and Downloading Files in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12479","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12479"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12479\/revisions"}],"predecessor-version":[{"id":12480,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12479\/revisions\/12480"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}