What is Lynx, and how do I use it?
Lynx is one of the most popular web browsers for command-line interfaces. Unix is the primary operating system that uses it, but there are also versions for VMS, DOS, Windows 95 and later, Mac OS, Mac OS X, and Amiga OS. Lynx was designed to display plain ASCII text on simple terminals, without including any multimedia content. This lets you view hypertext documents and navigate through lists of links with just your keyboard. You can't use a mouse, display graphical images, or play sound files.
At Indiana University, you can use Lynx on Quarry.
Lynx is convenient for modem users because it requires less information transfer than graphical browsers that load large multimedia files. People with network connections (such as Ethernet cards), for whom transmission time is less of a concern, may prefer to use graphical browsers such as Netscape Navigator or Internet Explorer.
Note: Although you can't view graphical images in
Lynx, you can transfer them (and any other binary files)
for later use by other applications. You can make Lynx indicate where
images are present in a web page by pressing
* (the asterisk). If you already know an
image's URL, you won't have to do this.
To start Lynx, at the command line prompt, enter:
lynxIf you have a specific URL in mind, you can append it, as in the following example:
lynx http://uits.iu.edu/When you view a web page with Lynx, it consists of plain text, usually embedded with highlighted links to various other web pages.
Using Lynx, you can navigate the web with just your arrow keys. The up and down arrow keys will move you from link to link on the page. The right arrow key will select a link and call up the page to which it points. The left arrow key will take you back to the page you were previously viewing.
Note: Even if you see several links side by side on the same line, you still need to use the up and down arrow keys to move between them.
Following is a list of some common Lynx commands:
- For help and other Lynx information, press
?(the question mark).
- To scan through a long web page one screen at a time, use the
Spacebar.
- Lynx has a
bookmarksfile; you can consider this a personal address book for sites on the web. To save the location of the page you're viewing, pressa, and thend. To view yourbookmarksfile, pressv.
- To see the document at a specific URL at any time, press
g, and then enter the full URL. For example, to connect to the Yahoo web index, you would pressgand then enter: http://www.yahoo.com/ - To see the URL of the page you're viewing, press
=(the equal sign). Then press=(the equal sign) again or the left arrow key to go back to the page.
- To abort your connection to a slow or unresponsive link, press: Ctrl-g
- To see the HTML source of the page you're looking at,
press
\(the backslash). Then press\(the backslash) again to re-display the plain text version.
For more information about Lynx, visit the Lynx Developers page.
To download Lynx for most operating systems, visit the current release page.
To download a Lynx ported to the Mac OS X Installer system, visit the GNU Mac OS X Public Archive.
Note: Lynx is also a short name of LynxOS, a
Unix-like operating system produced by LynuxWorks. For more
information, consult comp.os.lynx newsgroup or visit the
LynuxWorks corporate web
page.
At Indiana University, to get support for personal or departmental Linux or Unix systems, see At IU, how do I get support for Linux or Unix?
Also see:
- How can I view a web page that my browser has difficulty displaying?
- With Lynx, how do I save a web page to my account or my computer?
- In Lynx, how do I open a specific URL?
- In Lynx, how can I see the URL of the page I'm currently viewing, or the URL of the link that is currently selected?
- With Lynx, how do I download a page, image, or program from the web to my account from the Unix command line prompt?
- How can I search for information on the World Wide Web?
- With Lynx, how can I change the startup page?
- Using Lynx, why am I getting errors about redirecting?
Last modified on August 22, 2008.






