LINKS(1)

๐Ÿ“ฆ
version 2.30 ยท 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

okay so bestie, welcome to links(1) โ€” that's the General Commands Manual section, and yes this is the manual page. sit down, get comfy, we're doing this together ๐Ÿซถ


โœจ NAME โœจ

links โ€” a lynx-like alternative character mode WWW browser ๐Ÿ’…

no cap. that's the whole vibe.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

links [options] URL

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

links is a text mode WWW browser with an ncurses interface. she supports colors, correct table rendering, background downloading, a whole menu driven configuration interface, and โ€” iconic behaviour โ€” slim code. ๐Ÿ’–

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

and like, links can handle local (file://) or remote (http:// or ftp://) URLs. she contains multitudes. โœจ


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

Most options can be set in the user interface or the config file, so usually you do not need to care about them. (fr fr, but we're listing them all anyway because that's the assignment ๐Ÿ’…)

  • -help โ€” Print a help screen
  • -version โ€” Prints the links version number and exit.
  • -lookup <hostname> โ€” Does name lookup, like command host.
  • -g โ€” Run Links in graphics mode. If not given, Links will run in text mode. Running in graphics mode means that Links will probe all compiled-in graphics devices and run on the first found. If none found, links will not run in graphics mode. This option works only if --enable-graphics was given to ./configure.
  • -no-g โ€” Run in text mode (overrides previous -g).
  • -driver <driver name> โ€” Graphics driver to use. Drivers are: x, svgalib, fb, directfb, pmshell, atheos. List of drivers will be shown if you give it an unknown driver. Available drivers depend on your operating system and available libraries.
  • -mode <parameter> โ€” Pass a parameter to the graphics driver. On SVGAlib, this is widthxheightxdepth, (where depth is 16, 256, 32K, 64K, 16M or 16M32) and defines the graphics mode, on X the format is WIDTHxHEIGHT and defines the window size.
  • -display <x-display> โ€” Set Xwindow display.
  • -force-html โ€” Treat files with unknown type as html rather than text. (can be toggled with '\' key)
  • -source <url> โ€” Write unformatted data stream to stdout.
  • -dump <url> โ€” Write formatted document to stdout.
  • -width <number> โ€” For dump, document will be formatted to this screen width (but it can still exceed it if lines can't be broken).
  • -codepage <codepage> โ€” For dump, convert output to specified character set โ€” for example iso-8859-2, windows-1250.
  • -anonymous โ€” 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.
  • -no-connect โ€” Runs links as a separate instance โ€” instead of connecting to existing instance.
  • -download-dir <path> โ€” Default download directory. (default: actual dir)
  • -language <language> โ€” Set user interface language.
  • -max-connections <max> โ€” Maximum number of concurrent connections. (default: 10)
  • -max-connections-to-host <max> โ€” Maximum number of concurrent connection to a given host. (default: 2)
  • -retries <retry> โ€” Number of retries. (default: 3)
  • -receive-timeout <sec> โ€” Timeout on receive. (default: 120)
  • -unrestartable-receive-timeout <sec> โ€” Timeout on non restartable connections. (default: 600)
  • -timeout-when-trying-multiple-addresses <sec> โ€” Timeout for connection when trying multiple addresses or when resuming a keepalive connection. (default: 3)
  • -bind-address <ip address or interface name> โ€” Use a specific local IP address.
  • -bind-address-ipv6 <ipv6 address or interface name> โ€” Use a specific local IPv6 address.
  • -no-libevent โ€” Don't use libevent library.
  • -no-openmp โ€” Don't use OpenMP.
  • -download-utime <0>/<1> โ€” Set time of downloaded files to last modification time reported by server.
  • -format-cache-size <num> โ€” Number of formatted document pages cached. (default: 5)
  • -memory-cache-size <bytes> โ€” Cache memory in bytes. (default: 1048576)
  • -image-cache-size <bytes> โ€” Cache memory in bytes. (default: 1048576)
  • -font-cache-size <bytes> โ€” Cache memory in bytes. (default: 2097152)
  • -aggressive-cache <0>/<1> โ€” 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.
  • -address-preference <0>/<1>/<2>/<3>/<4> โ€” (default 0) 0 - use system default. 1 - prefer IPv4. 2 - prefer IPv6. 3 - use only IPv4. 4 - use only IPv6.
  • -http-proxy <host:port> โ€” Host and port number of the HTTP proxy, or blank. (default: blank)
  • -ftp-proxy <host:port> โ€” Host and port number of the FTP proxy, or blank. (default: blank)
  • -https-proxy <host:port> โ€” Host and port number of the HTTPS proxy, or blank. (default: blank)
  • -socks-proxy <user@host:port> โ€” Userid, host and port of Socks4a, or blank. (default: blank)
  • -append-text-to-dns-lookups <text> โ€” Append text to dns lookups. It is useful for specifying fixed tor exit node. (default: blank)
  • -no-proxy-domains <domain,domain...> โ€” No proxy for specified domains. (default: blank)
  • -only-proxies <0>/<1> โ€” "1" causes that Links won't initiate any non-proxy connection. It is useful for anonymization with tor or similar networks.
  • -ssl.certificates <0>/<1>/<2> โ€” (default 1) 0 - ignore invalid certificate. 1 - warn on invalid certificate. 2 - reject invalid certificate.
  • -ssl.builtin-certificates <0>/<1> โ€” (default 0; on DOS and OpenVMS default 1) Use built-in certificates instead of system certificates.
  • -ssl.client-cert-key <filename> โ€” Name of the PEM encoded file with the user private key for client certificate authentication.
  • -ssl.client-cert-crt <filename> โ€” Name of the PEM encoded file with the user certificate for client certificate authentication.
  • -ssl.client-cert-password <text> โ€” Password for the user private key.
  • -async-dns <0>/<1> โ€” Asynchronous DNS resolver on(1)/off(0).
  • -dns-over-https <url> โ€” DNS over HTTPS url.
  • -http-bugs.http10 <0>/<1> โ€” (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.
  • -http-bugs.allow-blacklist <0>/<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.
  • -http-bugs.bug-no-accept-charset <0>/<1> โ€” (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.
  • -http-bugs.no-compression <0>/<1> โ€” (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.
  • -http-bugs.retry-internal-errors <0>/<1> โ€” (default 0) Retry on internal server errors (50x).
  • -http.fake-firefox <0>/<1> โ€” (default 0) Fake that the browser is Firefox in the HTTP header.
  • -http.do-not-track <0>/<1> โ€” (default 0) Send "do not track" request in the HTTP header.
  • -http.referer <0>/<1>/<2>/<3>/<4> โ€” (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.
  • -http.fake-referer <string> โ€” Fake referer value.
  • -http.fake-user-agent <string> โ€” Fake user agent value.
  • -http.extra-header <string> โ€” Extra string added to HTTP header.
  • -ftp.anonymous-password <string> โ€” Password for anonymous ftp access.
  • -ftp.use-passive <0>/<1> โ€” Use ftp PASV command to bypass firewalls.
  • -ftp.use-erpt-epsv <0>/<1> โ€” Use EPRT and EPSV commands instead of PORT and PASV.
  • -ftp.set-iptos <0>/<1> โ€” Set IP Type-of-service to high throughput on ftp connections.
  • -smb.allow-hyperlinks-to-smb <0>/<1> โ€” Allow hyperlinks to SMB protocol. Disabling this improves security, because internet sites cannot exploit possible bugs in the SMB client.
  • -menu-font-size <size> โ€” Size of font in menu.
  • -menu-background-color 0xRRGGBB โ€” Set menu background color in graphics mode. RRGGBB are hex.
  • -menu-foreground-color 0xRRGGBB โ€” Set menu foreground color in graphics mode. RRGGBB are hex.
  • -scroll-bar-area-color 0xRRGGBB โ€” Set color of scroll bar area. RRGGBB are hex.
  • -scroll-bar-bar-color 0xRRGGBB โ€” Set color of scroll bar. RRGGBB are hex.
  • -scroll-bar-frame-color 0xRRGGBB โ€” Set color of scroll bar frame. RRGGBB are hex.
  • -bookmarks-file <file> โ€” File to store bookmarks.
  • -bookmarks-codepage <codepage> โ€” Character set of bookmarks file.
  • -save-url-history <0>/<1> โ€” Save URL history on exit.
  • -enable-cookies <0>/<1> โ€” Enable cookies.
  • -save-cookies <0>/<1> โ€” Save cookies on exit.
  • -max-cookie-age <fp-value> โ€” Maximum cookie age in days. 0 - unlimited
  • -display-red-gamma <fp-value> โ€” Red gamma of display. (default 2.2)
  • -display-green-gamma <fp-value> โ€” Green gamma of display. (default 2.2)
  • -display-blue-gamma <fp-value> โ€” Blue gamma of display. (default 2.2)
  • -user-gamma <fp-value> โ€” Additional gamma. (default 1)
  • -bfu-aspect <fp-value> โ€” Display aspect ratio.
  • -dither-letters <0>/<1> โ€” Do letter dithering.
  • -dither-images <0>/<1> โ€” Do image dithering.
  • -display-optimize <0>/<1>/<2> โ€” Optimize for CRT (0), LCD RGB (1), LCD BGR (2).
  • -gamma-correction <0>/<1>/<2> โ€” Type of gamma correction: (default 2) 0 - 8-bit (fast). 1 - 16-bit (slow). 2 - automatically detect according to speed of FPU.
  • -overwrite-instead-of-scroll <0>/<1> โ€” Overwrite the screen instead of scrolling it (valid for svgalib and framebuffer). Overwriting may or may not be faster, depending on hardware.
  • -font <file> โ€” Font file for normal text.
  • -font-bold <file> โ€” Font file for bold text.
  • -font-monospaced <file> โ€” Font file for monospaced text.
  • -font-monospaced-bold <file> โ€” the font file for monospaced bold text โœจ
  • -font-italic <file> โ€” font file for italic text ๐ŸŽ€
  • -font-italic-bold <file> โ€” font file for italic bold text ๐Ÿ’…
  • -font-monospaced-italic <file> โ€” font file for monospaced italic text ๐ŸŒธ
  • -font-monospaced-italic-bold <file> โ€” font file for monospaced italic bold text ๐Ÿฆ‹
  • -html-assume-codepage <codepage> โ€” bestie if a webpage is being mysterious and won't say what codepage it's using, we just assume this one. (default: ISO 8859-1) ๐Ÿ™ˆ
  • -html-hard-assume <0>/<1> โ€” always use the character set from -html-assume-codepage, literally no matter what the server said. no cap. ๐Ÿ’€
  • -html-tables <0>/<1> โ€” render tables. setting it to (0) makes tables render like they do in lynx. ๐Ÿ‘‘
  • -html-frames <0>/<1> โ€” render frames. (0) means frames get rendered like in lynx. ๐Ÿ–ผ๏ธ
  • -html-break-long-lines <0>/<1> โ€” break those long lines inside <pre> sections. โœ‚๏ธ
  • -html-images <0>/<1> โ€” show links to unnamed images as [IMG] ๐Ÿž๏ธ
  • -html-image-names <0>/<1> โ€” show the filename of an image instead of [IMG]. ๐Ÿ”
  • -html-display-images <0>/<1> โ€” display images in graphics mode. ๐ŸŽจ
  • -html-image-scale <percent> โ€” scale images in graphics mode. ๐Ÿ“
  • -html-bare-image-autoscale <0>/<1> โ€” autoscale images that are displayed in full screen. ๐Ÿ–ฅ๏ธ
  • -html-numbered-links <0>/<1> โ€” number the links in text mode, so you can quick-select a link by typing its number and hitting enter. so efficient, we love her ๐Ÿ’–
  • -html-table-order <0>/<1> โ€” in text mode, walk through a table by rows (0) or by columns (1). ๐Ÿงญ
  • -html-auto-refresh <0>/<1> โ€” process the refresh to the other page (1), or display a link to that page (0). ๐Ÿ”„
  • -html-target-in-new-window <0>/<1> โ€” allow html to open new windows. ๐ŸชŸ
  • -html-margin <number of spaces> โ€” the margin, in text mode. ๐Ÿ“
  • -html-user-font-size <size> โ€” the size of the font on pages in graphics mode. ๐Ÿ” 
  • -html-text-color <0>-<15> โ€” text color in text mode. ๐ŸŒˆ
  • -html-link-color <0>-<15> โ€” link color in text mode. ๐Ÿ”—
  • -html-background-color <0>-<7> โ€” background color in text mode. ๐ŸŽจ
  • -html-ignore-document-color <0>/<1> โ€” ignore the colors the html document itself specified, in text mode. ๐Ÿšซ
  • -html-g-text-color 0xRRGGBB โ€” text color in graphics mode. โœจ
  • -html-g-link-color 0xRRGGBB โ€” link color in graphics mode. ๐Ÿ’ซ
  • -html-g-background-color 0xRRGGBB โ€” background color in graphics mode. ๐ŸŒŒ
  • -html-g-ignore-document-color <0>/<1> โ€” ignore the colors specified in the html document, in graphics mode. ๐Ÿšซ

More options can be seen with links -h ๐Ÿ‘€


okay so these are the keys you can use while you're navigating, bestie โ€” memorise them and you're genuinely unstoppable:

  • ESC โ€” menu/escape
  • F9 โ€” menu
  • F10 โ€” file menu
  • TAB โ€” next frame
  • PGDN โ€” page down
  • Space โ€” page down
  • PGUP โ€” page up
  • b โ€” page up
  • CursorDOWN โ€” next link/down
  • CursorUP โ€” prev link/up
  • INS โ€” scroll up
  • ^P โ€” scroll up
  • DEL โ€” scroll down
  • ^N โ€” scroll down
  • [ โ€” scroll left
  • ] โ€” scroll right
  • HOME โ€” home
  • END โ€” end of page
  • CursorRIGHT โ€” enter link/press button
  • ENTER โ€” enter link/press button
  • CursorLEFT โ€” go back
  • d โ€” download link
  • / โ€” search in the page
  • ? โ€” search back in the page
  • n โ€” find next match
  • N โ€” find next match backwards
  • f โ€” zoom actual frame
  • ^R โ€” reload page
  • g โ€” go to URL
  • G โ€” edit the current URL and goto the result
  • ^G โ€” edit the current link and goto the result
  • s โ€” bookmark manager
  • q โ€” quit, close window if more windows are open
  • Q โ€” quit without asking
  • = โ€” document information
  • \ โ€” toggle HTML source/rendered view

โœ๏ธ EDITING KEYS โœ๏ธ

these ones are for when you're editing a line or jumping to a URL โ€” the glow-up keys fr fr:

  • CursorRIGHT โ€” move right
  • CursorLEFT โ€” move left
  • HOME โ€” jump at the beginning
  • ^A โ€” jump at the beginning
  • END โ€” jump at the end
  • ^E โ€” jump at the end
  • ^X โ€” cut to clipboard
  • ^B โ€” copy to clipboard
  • ^V โ€” paste from clipboard
  • ENTER โ€” enter line
  • BACKSPACE โ€” delete back character
  • ^H โ€” delete back character
  • DEL โ€” delete character
  • ^D โ€” delete character
  • ^U โ€” delete from beginning of the line
  • ^K โ€” delete to the end of the line or delete line (in textarea)
  • ^W โ€” auto complete line

๐Ÿ“ FILES ๐Ÿ“

  • ~/.links/links.cfg โ€” the per-user configfile, automatically created by links. she makes herself, queen behavior ๐Ÿ‘‘

๐Ÿ–ฅ๏ธ PLATFORMS ๐Ÿ–ฅ๏ธ

links is known to work on Linux, FreeBSD, Solaris, IRIX, HPUX, Digital Unix, AIX, OS/2, BeOS and Win32. versatile icon ๐Ÿ’…


๐Ÿ› BUGS ๐Ÿ›

you can't upload large files; it takes lots of memory. like, lots. ๐Ÿ˜ญ

please report any other bugs you find to Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> ๐Ÿซถ


๐Ÿ“œ LICENSE ๐Ÿ“œ

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. ๐Ÿ’–


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

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. legends, all of them ๐ŸŒŸ

the homepage of links can be found at http://links.twibright.com/ ๐ŸŒ

this manual page was written by Peter Gervai <grin@tolna.net>, using excerpts from a (yet?) unknown links fan for the Debian GNU/Linux system (but may be used by others). updated by Karel Kulhavy. ๐ŸŽ€


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

lynx(1), w3m(1) โ€” go give them a lil visit too, they're cute ๐Ÿฆ‹


and that's the whole page, bestie!! this one is from the LINKS(1) manual, dated Aug, 2006 โ€” yeah she's vintage but she ate and left no crumbs. now go browse something cute ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from