How to completely ditch GUI internet applications for the command line

The short ‘n’ sweet guide to liberating yourself from the evil graphical user interface

Download the whole article as PDF

Write a full post in response to this!


Today, terminal-based programs have almost disappeared. GUIs are taking over, whether we like it or not. However, there is still a place for the old command line. Take the internet as an example: everyone’s using Firefox, Thunderbird, and Pidgin for their internet activities. Even though these are great, quality, free software apps, they tend to be bloated. That’s where the terminal comes in.

Introduction

Since most of this article is for the internet, having an internet connection might be useful. Also, you’ll probably need a computer (preferably running GNU/Linux, as many of these programs don’t run on Windows or OS X). Finally, you’ll need a terminal emulator (which most GNU/Linux distributions come with). Windows users have cmd.exe, Mac users have Terminal, GNOME users have gnome-terminal, KDE users mostly use konsole, and Xfce users often use xfce4-terminal. Most operating systems also install xterm or some other terminal program. If your operating system doesn’t have any of these (something I would find hard to believe) there is a list of terminal apps at Wikipedia. And if none of these are installed on your system (something I would find extremely hard to believe), you can always install one using your package manager. As a last resort, try typing Ctrl + Alt + F1 to exit KDE, GNOME, Xfce, or whatever desktop environment you are using (use Alt + F7 to go back).

If you are told to run something in this kind of text, then that means you should copy it into the terminal and hit enter (unless it’s a hotkey like c. In that case, just type c into the terminal and it will run automatically).

Lynx: web browsing from the terminal

Homepage: http://lynx.browser.org/

Back in 1989, a text browser that could browse HTTP and Gopher protocols was born. That browser is still around today. It’s called Lynx. There is absolutely no GUI. All it is is a terminal app with a few different colors. It handles most HTML, supports SSL, and much more. You can even download pictures and movies to view with an external application (like MPlayer). You can use it on servers (which often have no GUI), low resource machines, or just for connecting to the web without all the frills of Firefox. It’s available for Windows, GNU/Linux, and Macintosh (via a fink package or an unofficial build).

Figure 1: Browsing Newsvine.mobi with Lynx
Figure 1: Browsing Newsvine.mobi with Lynx

wget: Text-based downloader

Homepage: http://www.gnu.org/software/wget/

Sometimes when downloading a file you don’t need all the bloat of a full download manager like KGet. That’s why I like wget, an HTTP(s) and FTP downloader for Windows and GNU/Linux (with an unofficial build for Mac OS X. It supports incomplete downloads, HTTP or FTP mirroring, proxies, and much more. Just type wget [URL], replacing [URL] with the URL of the file, e.g. http://mirror.cc.columbia.edu/pub/linux/ubuntu/releases/kubuntu/feisty/kubuntu-7.04-desktop-i386.iso, and the Kubuntu CD image will start downloading. You can also use wget to mirror sites with the -m flag.

Figure 2: Downloading Kubuntu Feisty with wget
Figure 2: Downloading Kubuntu Feisty with wget

rtorrent: Torrents without a user interface

Homepage: http://libtorrent.rakshasa.no/

Sometimes, it’s faster to download a file with the BitTorrent technology than wait for the six thousand other users to leave.

Don't miss out on the other pages!
12next ›last »

Write a full post in response to this!

Similar articles

1

Do you like this post?
Vote for it!

Copyright information

This article is made available under the "Attribution-Sharealike" Creative Commons License 3.0 available from http://creativecommons.org/licenses/by-sa/3.0/.

Biography

Andrew Min: Definition: Andrew Min (n): a non-denominational, Bible-believing, evangelical Christian. (n): a Kubuntu Linux lover (n): a hard core geek (n): a journalist for several online publications (see them all at http://www.andrewmin.com/ )

Anonymous visitor's picture

w3m is another text based

Submitted by Anonymous visitor (not verified) on Thu, 2007-10-18 00:51.

Vote!
0

w3m is another text based browser. http://w3m.sourceforge.net/

Terry Hancock's picture

w3m

Submitted by Terry Hancock on Tue, 2007-12-11 16:08.

Vote!
0

I also use w3m. As far as I am concerned it completely obsoletes Lynx. The thing is, Lynx has always had the limitation that it does a lousy job of formatting tables, but w3m handles them easily. Most web pages, even ones that are not specially designed for text browsing, are entirely usable with w3m.

w3m can also do a lot of other tricks, like correctly handling cookies, that few text browsers can do. It's also a nice paging program for on-disk browsing.

I consider it an essential shell program on any system I use.

Now, it's not stream-based, you do need to have curses (I don't know whether that's true of Lynx or not).

Anonymous visitor's picture

Web Based Browser

Submitted by Anonymous visitor (not verified) on Wed, 2007-11-14 07:05.

Vote!
0

Try elinks - much better than lynx ;P

Wolfric's picture

nice article

Submitted by Wolfric (not verified) on Mon, 2007-11-19 21:26.

Vote!
0

I use a lot of CLI apps in conjunction with ssh and screen.

I also recommend ncftp for ftp transfers and irssi for irc. And for IM I use bitlbee inside irssi :)

Do elinks or w3m support https? As that is an issue for me with links.

Cheers

jhenkins's picture

Graphical browsing on CLI

Submitted by jhenkins (not verified) on Tue, 2007-11-20 22:25.

Vote!
0

Nice article!

By the way, being in CLI mode does not mean one has to forgo all creature comforts like a browser with inline graphics, links is your best bet. OK, not as "complete" as GUI browsers, but it supports SSL, frames, Javascript and most sensible graphics types. For it's graphical layer it can use X, DirectFB, framebuffer and SVGAlib.

Chris Lees's picture

Another good browser

Submitted by Chris Lees (not verified) on Wed, 2007-11-21 02:17.

Vote!
0

Links2 can work, with text only or *including images*, in an Xterm or even on the framebuffer! Well worth checking out.

pvdg's picture

pvdg@laptop:~$ thank you

Submitted by pvdg on Thu, 2007-12-06 00:59.

Vote!
0

The more I learn about it, the more I like the command line. Thanks for the excellent tips! You could add mp3blaster for playing music.