HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lynx — Command-line web browser. More information: <https://manned.org/lynx>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlinebrowsercliwebmorelynx

Problem

How to use the lynx command: Command-line web browser. More information: <https://manned.org/lynx>.

Solution

lynx — Command-line web browser. More information: <https://manned.org/lynx>.

Visit a website:
lynx {{example.com}}


Apply restrictions for anonymous account:
lynx -anonymous {{example.com}}


Turn on mouse support, if available:
lynx -use_mouse {{example.com}}


Force color mode on, if available:
lynx -color {{example.com}}


Open a link, using a specific file to read and write cookies:
lynx -cookie_file={{path/to/file}} {{example.com}}


Navigate forwards and backwards through the links on a page:
{{<ArrowUp>|<ArrowDown>}}


Go back to the previously displayed page:
{{<ArrowLeft>|<u>}}


Exit:
<q><y>

Code Snippets

Visit a website

lynx {{example.com}}

Apply restrictions for anonymous account

lynx -anonymous {{example.com}}

Turn on mouse support, if available

lynx -use_mouse {{example.com}}

Force color mode on, if available

lynx -color {{example.com}}

Open a link, using a specific file to read and write cookies

lynx -cookie_file={{path/to/file}} {{example.com}}

Context

tldr-pages: common/lynx

Revisions (0)

No revisions yet.