Scroll to navigation

LINKS(1) General Commands Manual LINKS(1)


links - lynx-like alternative character mode WWW browser


links [options] URL


links is a text mode WWW browser with ncurses interface, supporting colors, correct table rendering, background downloading, menu driven configuration interface and slim code.

Frames are supported. You can have different file formats associated with external viewers. mailto: and telnet: are supported via external clients.

links can handle local (file://) or remote (http:// or ftp://) URLs.


Most options can be set in the user interface or config file, so usually you do not need to care about them.

Print a help screen

Prints the links version number and exit.

Does name lookup, like command "host".

Treat files with unknown type as html rather than text. (can be toggled with '\' key)

Write unformatted data stream to stdout.

Write formatted document to stdout.

For dump, document will be formatted to this screen width (but it can still exceed it if lines can't be broken).

For dump, convert output to specified character set -- for example iso-8859-2, windows-1250.

Restrict links so that it can run on an anonymous account. No local file browsing. No downloads. Executing of viewers is allowed, but user can't add or modify entries in association table.

Runs links as a separate instance - instead of connecting to existing instance.

Default download directory. (default: actual dir)

Set user interface language.

Maximum number of concurrent connections. (default: 10)

Maximum number of concurrent connection to a given host. (default: 2)

Number of retries. (default: 3)

Timeout on receive. (default: 120)

Timeout on non restartable connections. (default: 600)

Timeout for connection when trying multiple addresses or when resuming a keepalive connection. (default: 3)

Use a specific local IP address.

Use a specific local IPv6 address.

Don't use libevent library.

Don't use OpenMP.

Asynchronous DNS resolver on(1)/off(0).

Set time of downloaded files to last modification time reported by server.

Number of formatted document pages cached. (default: 5)

Cache memory in bytes. (default: 1048576)

Cache memory in bytes. (default: 1048576)

Cache memory in bytes. (default: 2097152)

Always cache everything regardless of server's caching recomendations. Many servers deny caching even if their content is not changing just to get more hits and more money from ads.

(default 0) 0 - use system default. 1 - prefer IPv4. 2 - prefer IPv6. 3 - use only IPv4. 4 - use only IPv6.

Host and port number of the HTTP proxy, or blank. (default: blank)

Host and port number of the FTP proxy, or blank. (default: blank)

Host and port number of the HTTPS proxy, or blank. (default: blank)

Userid, host and port of Socks4a, or blank. (default: blank)

Append text to dns lookups. It is useful for specifying fixed tor exit node. (default: blank)

No proxy for specified domains. (default: blank)

"1" causes that Links won't initiate any non-proxy connection. It is useful for anonymization with tor or similar networks.

(default 1) 0 - ignore invalid certificate. 1 - warn on invalid certificate. 2 - reject invalid certificate.

(default 0; on DOS and OpenVMS default 1) Use built-in certificates instead of system certificates.

Name of the PEM encoded file with the user private key for client certificate authentication.

Name of the PEM encoded file with the user certificate for client certificate authentication.

Password for the user private key.

(default 0) "1" forces using only HTTP/1.0 protocol. (useful for buggy servers that claim to be HTTP/1.1 compliant but are not) "0" enables using both HTTP/1.0 and HTTP/1.1.

(default 1) "1" defaults to using list of servers that have broken HTTP/1.1 support. When links finds such server, it will retry the request with HTTP/1.0.

(default 0) Do not send Accept-Charset field of HTTP header. Because it is too long some servers will deny the request. Other servers will convert content to plain ascii when Accept-Charset is missing.

(default 0) "1" causes that links won't advertise HTTP compression support (but it will still accept compressed data). Use it when you communicate with server that has broken compression support.

(default 0) Retry on internal server errors (50x).

(default 0) Fake that the browser is Firefox in the HTTP header.

(default 0) Send "do not track" request in the HTTP header.

(default 0) 0 - do not send referer. 1 - send the requested URL as referer. 2 - send fake referer. 3 - send real referer. 4 - send real referer only to the same server.

Fake referer value.

Fake user agent value.

Extra string added to HTTP header.

Password for anonymous ftp access.

Use ftp PASV command to bypass firewalls.

Use EPRT and EPSV commands instead of PORT and PASV.

Set IP Type-of-service to high throughput on ftp connections.

Allow hyperlinks to SMB protocol. Disabling this improves security, because internet sites cannot exploit possible bugs in the SMB client.

Size of font in menu.

Set menu background color in graphics mode. RRGGBB are hex.

Set menu foreground color in graphics mode. RRGGBB are hex.

Set color of scroll bar area. RRGGBB are hex.

Set color of scroll bar. RRGGBB are hex.

Set color of scroll bar frame. RRGGBB are hex.

File to store bookmarks.

Character set of bookmarks file.

Save URL history on exit.

Red gamma of display. (default 2.2)

Green gamma of display. (default 2.2)

Blue gamma of display. (default 2.2)

Additional gamma. (default 1)

Display aspect ration.

Do letter dithering.

Do image dithering.

Optimize for CRT (0), LCD RGB (1), LCD BGR (2).

Type of gamma correction: (default 2) 0 - 8-bit (fast). 1 - 16-bit (slow). 2 - automatically detect according to speed of FPU.

Overwrite the screen instead of scrolling it (valid for svgalib and framebuffer). Overwriting may or may not be faster, depending on hardware.

Font file for normal text.

Font file for bold text.

Font file for monospaced text.

Font file for monospaced bold text.

Font file for italic text.

Font file for italic bold text.

Font file for monospaced italic text.

Font file for monospaced italc bold text.

Use the given codepage when the webpage did not specify its codepage. (default: ISO 8859-1)

Use always character set from "-html-assume-codepage" no matter what server sent.

Render tables. (0) causes tables being rendered like in lynx.

Render frames. (0) causes frames rendered like in lynx.

Break long lines in <pre> sections.

Display links to unnamed images as [IMG]

Display filename of an image instead of [IMG].

Display images in graphics mode.

Scale images in graphics mode.

Autoscale images displayed in full screen.

Number links in text mode. Allow quick link selection by typing link number and enter.

In text mode, walk through table by rows (0) or columns (1).

Process refresh to other page (1), or display link to that page (0).

Allow opening new windows from html.

Margin in text mode.

Size of font on pages in graphics mode.

Text color in text mode.

Link color in text mode.

Background color in text mode.

Ignore colors specified in html document in text mode.

Text color in graphics mode.

Link color in graphics mode.

Background color in graphics mode.

Ignore colors specified in html document in graphics mode.

More options can be seen with links -h


The keys you may use while navigating are

file menu
next frame
page down
page down
page up
page up
next link/down
prev link/up
scroll up
scroll up
scroll down
scroll down
scroll left
scroll right
end of page
enter link/press button
enter link/press button
go back
download link
search in the page
search back in the page
find next match
find next match backwards
zoom actual frame
reload page
go to URL
edit the current URL and goto the result
edit the current link and goto the result
bookmark manager
quit, close window if more windows are open
quit without asking
document information
toggle HTML source/rendered view


The following keys can be used while editing a line/jumping to a URL:

move right
move left
jump at the beginning
jump at the beginning
jump at the end
jump at the end
cut to clipboard (text mode only)
copy to clipboard
copy to clipboard
paste from clipboard (text mode only)
enter line
delete back character
delete back character
delete character
delete character
delete from beginning of the line
delete to the end of the line
auto complete line


Per‐user configfile, automatically created by links.


links is known to work on Linux, FreeBSD, Solaris, IRIX, HPUX, Digital Unix, AIX, OS/2, BeOS and Win32.


Can't connect to some FTP servers (Novell, NT). Connection stays in "Request sent" state.

Frames don't work if there's more frames with same name. Turn them off in such case.

You can't upload large files; it takes _lots_ of memory.

You shouldn't press '^Z' when you are in a viewer

Please report any other bugs you find to Mikulas Patocka <>


links is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


links was written by Mikulas Patocka, Karel 'Clock' Kulhavy, Petr 'Brain' Kulhavy, and Martin 'PerM' Pergel. See file AUTHORS for a list of people contributing to this project.

The homepage of links can be found at

This manual page was written by Peter Gervai <>, using excerpts from a (yet?) unknown links fan for the Debian GNU/Linux system (but may be used by others). Updated by Karel Kulhavy.


lynx(1), w3m(1)

Aug, 2006