LINKS(1)
๐ LINKS(1) ๐
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 thelinksversion number and exit.-lookup <hostname>โ Does name lookup, like commandhost.-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,linkswill not run in graphics mode. This option works only if--enable-graphicswas 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 iswidthxheightxdepth, (where depth is16,256,32K,64K,16Mor16M32) and defines the graphics mode, on X the format isWIDTHxHEIGHTand 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 exampleiso-8859-2,windows-1250.-anonymousโ Restrictlinksso 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โ Runslinksas 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. Whenlinksfinds such server, it will retry the request with HTTP/1.0.-http-bugs.bug-no-accept-charset <0>/<1>โ (default 0) Do not sendAccept-Charsetfield of HTTP header. Because it is too long some servers will deny the request. Other servers will convert content to plain ascii whenAccept-Charsetis missing.-http-bugs.no-compression <0>/<1>โ (default 0)"1"causes thatlinkswon'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 ftpPASVcommand to bypass firewalls.-ftp.use-erpt-epsv <0>/<1>โ UseEPRTandEPSVcommands instead ofPORTandPASV.-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.RRGGBBare hex.-menu-foreground-color 0xRRGGBBโ Set menu foreground color in graphics mode.RRGGBBare hex.-scroll-bar-area-color 0xRRGGBBโ Set color of scroll bar area.RRGGBBare hex.-scroll-bar-bar-color 0xRRGGBBโ Set color of scroll bar.RRGGBBare hex.-scroll-bar-frame-color 0xRRGGBBโ Set color of scroll bar frame.RRGGBBare 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-color0xRRGGBBโ text color in graphics mode. โจ-html-g-link-color0xRRGGBBโ link color in graphics mode. ๐ซ-html-g-background-color0xRRGGBBโ 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 ๐
๐งญ NAVIGATION KEYS ๐งญ
okay so these are the keys you can use while you're navigating, bestie โ memorise them and you're genuinely unstoppable:
ESCโ menu/escapeF9โ menuF10โ file menuTABโ next framePGDNโ page downSpaceโ page downPGUPโ page upbโ page upCursorDOWNโ next link/downCursorUPโ prev link/upINSโ scroll up^Pโ scroll upDELโ scroll down^Nโ scroll down[โ scroll left]โ scroll rightHOMEโ homeENDโ end of pageCursorRIGHTโ enter link/press buttonENTERโ enter link/press buttonCursorLEFTโ go backdโ download link/โ search in the page?โ search back in the pagenโ find next matchNโ find next match backwardsfโ zoom actual frame^Rโ reload pagegโ go to URLGโ edit the current URL and goto the result^Gโ edit the current link and goto the resultsโ bookmark managerqโ quit, close window if more windows are openQโ 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 rightCursorLEFTโ move leftHOMEโ jump at the beginning^Aโ jump at the beginningENDโ jump at the end^Eโ jump at the end^Xโ cut to clipboard^Bโ copy to clipboard^Vโ paste from clipboardENTERโ enter lineBACKSPACEโ delete back character^Hโ delete back characterDELโ 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 bylinks. 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
- alpine 3.22: links-doc 2.30-r0 ยท GPL-2.0-or-later WITH OpenSSL-Exception
- alpine 3.23: links-doc 2.30-r0 ยท GPL-2.0-or-later WITH OpenSSL-Exception
- alpine 3.24: links-doc 2.30-r1 ยท GPL-2.0-or-later WITH OpenSSL-Exception
- alpine 3.24: links-graphics-doc 2.30-r1 ยท GPL-2.0-or-later WITH OpenSSL-Exception
- arch rolling: links 2.30-2 ยท GPL-2.0-or-later
- nixos 26.05: links2 2.30
- nixpkgs unstable: links2 2.30
- opensuse-leap 16.0: links 2.30-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: links 2.30-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: links 2.30-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: links 2.30-bp160.1.13 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms