What I'm hoping to do though, is a slight variation on this. As should be clear, what's happening is that file.pdf is being converted to html and then piped to the text-mode browser elinks for display. In the following lines we will see how download files from the terminal, using any of the following five tools available for Ubuntu.The following command works great to view pdf content from the command line: pdftohtml -i -stdout file.pdf |elinks. These are:Įast client to download torrents It will allow users to download from the command line with low resource consumption. The terminal will be the user interface.įor, install rTorrent package, we will only have to open a terminal (Ctrl + Alt + T) and use the following command: rTorrent It does not have a GUI, it is only available in CLI. Once the installation is finished, we can check if rTorrent has been installed correctly typing in terminal: rtorrentĪfter running the above command, a screen like the following should appear. Now we can start downloading any torrent by pasting the link. To exit the rtorrent application, the key combination to use will be Ctrl + q. This is one free tool that allows downloading of content from web servers in a simple and fast way. This name comes to mean: get from the #Elinks terminal free# Now you can start download any file we need with the wget command next to the link, and it will start downloading immediately. In case you need download multiple files with wget command, we will have to create a new text file and inside write all the URLs of the files that we need to download. Then you just have to use the file name together with the wget command as follows: wget -i listado-descargas.txt Using curlĬURL is a software project consisting of a library (libcurl) and a shell (curl) oriented to file transfer. Supports protocols FTP, FTPS, HTTP, HTTPS, TFTP, SCP, SFTP, Telnet, DICT, FILE, and LDAP, among others.įor, install curl command, you have to use the following command in the terminal (Ctrl + Alt + T):Īfter the installation, to Download a file We must write the URL of this together with the curl command, as follows: #Elinks terminal software# In case we need download multiple files with curl command, you just have to use the command as follows: curl -O URL-del-archivo1-a-descargar -O URL-del-archivo2-a-descargar Using w3m Usually, makes the pages as faithful as possible.įor, install w3m, we just have to open a terminal (Ctrl + Alt + T) and use the following command:įor, start browsing a url, we will have to use the following command: It looks a lot like Lynx and has support for tables, frames, SSL connections, and even images. Then we can browse the website and download what we need. We will do this by hovering over the file with the arrow keys and pressing Intro.Įlinks is a console web browser. Is text-based and focused for UNIX-based operating systems.įor, install elinks package, we can open a terminal (Ctrl + Alt + T) and use the following command: sudo apt install elinksįor, start browsing a website, just use the following command:Ī welcome screen like the one below should appear. We will have to press OK to continue, and start browsing to the file that needs to be downloaded.Īs you can see in the previous screenshot, this browser will offer us several options about the selected file. One of them is Save, which will allow us to save the file that interests us.How amazing it would be if you surf the internet merely on a terminal. It is indeed exciting then why not learn how to install a browser in the terminal. There are several browsers available to use in terminals, but I picked elinks for you today because of its fabulous performance. I will show you how to install elinks on your Ubuntu 20.04 LTS machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |