LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

links

text-mode web browser for the terminal

TLDR

Visit a website
$ links https://example.com
copy
Dump rendered page as plain text to stdout
$ links -dump https://example.com
copy
Dump with a specific screen width
$ links -width 80 -dump https://example.com
copy
Browse in anonymous mode
$ links -anonymous https://example.com
copy
View page source code
$ links -source https://example.com
copy

SYNOPSIS

links [options] [url]

DESCRIPTION

links is a text-mode web browser for the terminal. It supports tables, frames, and basic forms rendering, making it useful for browsing documentation or using the web from servers without a graphical environment.

PARAMETERS

-anonymous

Apply restrictions for anonymous browsing (no local file access or downloads)
-dump
Write rendered page as plain text to stdout
-source
Write page source to stdout
-width number
Set screen width for dump output
-codepage codepage
Convert dump output to specified character set
-enable-cookies 0|1
Enable (1) or disable (0) cookies
-force-html
Treat files with unknown type as HTML rather than text
-html-numbered-links 0|1
Number links in text mode for quick selection
-html-margin spaces
Set margin width in text mode
-no-connect
Run as a separate instance instead of connecting to an existing one
-download-dir path
Set default download directory
-max-connections max
Maximum concurrent connections (default: 10)
-receive-timeout sec
Timeout on receive in seconds (default: 120)

NAVIGATION KEYS

Up/Down

Scroll page
Tab/Shift+Tab
Navigate between links
Left/Right
Go back/forward in history
Enter
Follow selected link
g
Go to URL
/
Search text on page
Esc
Open menu
d
Download current link
q
Quit browser

SEE ALSO

links2(1), lynx(1), w3m(1)

Copied to clipboard
Kai