LinuxCommandLibrary

links

Browse the web in text mode

TLDR

Visit a website

$ links [https://example.com]
copy

Apply restrictions for anonymous account
$ links -anonymous [https://example.com]
copy

Enable Cookies (1 to enable)
$ links -enable-cookies [0|1] [https://example.com]
copy

Navigate forwards and backwards through the links on a page
$ [<ArrowUp>|<ArrowDown>]
copy

Go forwards and backwards one page
$ [<ArrowLeft>|<ArrowRight>]
copy

Exit
$ <q><y>
copy

SYNOPSIS

links [options] [URL]

PARAMETERS

-g
    Run in graphical mode

-dump
    Dump formatted page to stdout

-dump-width N
    Set dump width (default: 80)

-source
    Print page source

-html-numbered-links
    Number links in dump mode

-http-proxy HOST:PORT
    Use HTTP proxy

-socks-proxy HOST:PORT
    Use SOCKS proxy

-download-dir DIR
    Default download directory

-no-connect
    Don't make network connections

-anonymous
    Disable local file access

-ssl.certificates 0
    Disable SSL certificate verification

DESCRIPTION

Links is a text-mode web browser that can run in a terminal or with a graphical interface. It renders HTML pages, supports tables, frames, and can display images when running in graphical mode. Links is useful for browsing on systems without graphical interfaces or over slow connections.

CAVEATS

JavaScript is not supported. Complex CSS layouts may not render correctly. Some modern websites may not work. Graphical mode requires specific libraries.

NAVIGATION KEYS

Arrow keys - Navigate
Enter - Follow link
g - Go to URL
/ - Search
Esc - Menu
q - Quit

SEE ALSO

links2(1), lynx(1), w3m(1), elinks(1), curl(1)

Copied to clipboard