Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 61 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       lynx [options] [path or URL]

       use "lynx -help" to display a  complete  list  of  current


       Lynx  is  a fully-featured World Wide Web (WWW) client for
       users running cursor-addressable,  character-cell  display
       devices (e.g., vt100 terminals, vt100 emulators running on
       Windows 95/NT or Macintoshes, or  any  other  "curses-ori­
       ented"  display).   It  will display hypertext markup lan­
       guage (HTML) documents containing links to files  residing
       on  the  local system, as well as files residing on remote
       systems running Gopher, HTTP, FTP, WAIS, and NNTP servers.
       Current  versions of Lynx run on Unix, VMS, Windows 95/NT,
       386DOS and OS/2 EMX.

       Lynx can be used to access information on the  World  Wide
       Web,  or  to  build information systems intended primarily
       for local access.  For example,  Lynx  has  been  used  to
       build  several Campus Wide Information Systems (CWIS).  In
       addition, Lynx can  be  used  to  build  systems  isolated
       within a single LAN.


       At  start  up, Lynx will load any local file or remote URL
       specified at the command line.  For help with URLs,  press
       "?"   or  "H"  while  running  Lynx.  Then follow the link
       titled, "Help on URLs."

       Lynx uses only long option names. Option names  can  begin
       with  double  dash  as well, underscores and dashes can be
       intermixed in option names (in the reference below options
       are with one dash before them and with underscores).

       -      If  the  argument is only '-', then Lynx expects to
              receive the arguments from stdin.  This is to allow
              for the potentially very long command line that can
              be associated  with  the  -get_data  or  -post_data
              arguments  (see  below).   It  can  also be used to
              avoid having sensitive information in the  invoking
              command  line (which would be visible to other pro­
              cesses on most systems), especially when the  -auth
              or -pauth options are used.

              accept all cookies.

              documents  at  startup.   Be  sure  to  protect any
              script files which use this switch.

       -base  prepend a request  URL  comment  and  BASE  tag  to
              text/html outputs for -source dumps.

              specify  a  local  bibp server (default http://bib­

       -blink forces high intensity background colors  for  color
              mode,  if  available and supported by the terminal.
              This applies to the slang library (for a few termi­
              nal emulators), or to OS/2 EMX with ncurses.

       -book  use  the  bookmark  page  as  the  startfile.   The
              default or command line startfile is still set  for
              the  Main  screen  command, and will be used if the
              bookmark page is unavailable or blank.

              toggles scanning of news articles for buried refer­
              ences, and converts them to news links.  Not recom­
              mended because email addresses  enclosed  in  angle
              brackets will be converted to false news links, and
              uuencoded messages can be trashed.

              set the NUMBER of documents cached in memory.   The
              default is 10.

       -case  enable case-sensitive string searching.

              Toggle center alignment in HTML TABLE.

              specifies  a Lynx configuration file other than the
              default lynx.cfg.

       -child exit on left-arrow in startfile, and  disable  save
              to disk.

              write keystroke commands and related information to
              the specified file.

              read keystroke commands from  the  specified  file.
              You  can  use  the  data written using the -cmd_log
              option.  Lynx will ignore other  information  which
              the  command-logging  may  have written to the log­
              found in a .lynxrc file at  startup  has  the  same
              effect.   A saved show_color=never found in .lynxrc
              on startup is overridden by this flag.

              Sets the connection timeout, where N  is  given  in
              seconds.   This is not available under DOS (use the
              sockdelay parameter of WATTCP under DOS).

              specifies a file to use to read cookies.   If  none
              is  specified, the default value is ~/.lynx_cookies
              for most systems, but ~/cookies for MS-DOS.

              specifies a file to use to store cookies.  If  none
              is  specified,  the  value given by -cookie_file is

              toggles handling of Set-Cookie headers.

       -core  toggles forced core dumps on fatal errors.

       -crawl with -traversal, output each page to a file.   with
              -dump,  format  output  as  with -traversal, but to

              toggles the use of curses "pad" feature which  sup­
              ports left/right scrolling of the display.

              separate   incremental  display  stages  with  Mes­
              sageSecs delay

              set the display variable for X rexec-ed programs.

              set the charset for the terminal output.

              inhibit wrapping of text in  <pre>  when  -dump'ing
              and  -crawl'ing,  mark wrapped lines in interactive

       -dump  dumps the formatted output of the default  document
              or  one  specified  on the command line to standard
              output.  This can be used in the following way:

              lynx -dump http://www.trill-home.com/lynx.html
              define  a  file  where Lynx will report HTTP access

       -exec  enable local program execution (normally  not  con­

              include  all  versions of files in local VMS direc­
              tory listings.

              force HREF-less 'A' elements  to  be  empty  (close
              them as soon as they are seen).

              forces  the  first  document  to  be interpreted as

              toggles forcing of the secure flag for SSL cookies.

              toggles  whether  the  Options Menu is key-based or

       -from  toggles transmissions of From headers.

       -ftp   disable ftp access.

              properly formatted data for a get form are read  in
              from stdin and passed to the form.  Input is termi­
              nated by a line that starts with '---'.

       -head  send a HEAD request for the mime headers.

       -help  print the Lynx command syntax usage message.

              control the display of hidden links.

              merge hidden links show up as bracketed numbers and
              are  numbered  together  with  other  links  in the
              sequence of their occurrence in the document.

              listonly hidden  links  are  shown  only  on  L)ist
              screens and listings generated by -dump or from the
              P)rint menu, but appear separately at  the  end  of
              those lists.  This is the default behavior.

              ignore hidden links do not appear even in listings.

              MAPs are present.

              do justification of text.

              starting  count  for  lnk#.dat  files  produced  by

              disable URLs that point to remote hosts.

              enable  local  program  execution  from local files
              only (if Lynx was  compiled  with  local  execution

              specify  filename  containing  color-style informa­
              tion.  The default is lynx.lss.

              prints the MIME header of a fetched document  along
              with its source.

              toggles minimal versus valid comment parsing.

              number of articles in chunked news listings.

              maximum  news articles in listings before chunking.

              disable bold video-attribute.

              disable directory browsing.

       -nocc  disable Cc: prompts for self  copies  of  mailings.
              Note  that  this does not disable any CCs which are
              incorporated within a mailto URL or form ACTION.

              force color mode off, overriding terminal capabili­
              ties  and any -color flags, COLORTERM variable, and
              saved .lynxrc settings.

              disable local program execution. (DEFAULT)

              more  immediately to window changes when run within
              an xterm.

              disable forced pauses for statusline messages.

              disable most print functions.

              prevents automatic redirection and prints a message
              with a link to the new URL.

              disable transmissions of Referer headers.

              disable reverse video-attribute.

              disable SOCKS proxy usage by a SOCKSified Lynx.

              disable the retrieval status messages.

              disable underline video-attribute.

              force  numbering  of  links  as  well as form input

              force numbering of links.

              toggles display partial pages while loading.

              number of lines to render before repainting display
              with partial-display logic

              set  authorization  ID and password for a protected
              proxy server at startup.  Be sure  to  protect  any
              script files which use this switch.

       -popup toggles  handling  of  single-choice SELECT options
              via popup windows or as lists of radio buttons.

              properly formatted data for a post form are read in
              toggles pseudo-ALTs for inlines with no ALT string.

       -raw   toggles default setting of 8-bit character transla­
              tions or CJK mode for the startup character set.

       -realm restricts access to URLs in the starting realm.

              flushes the cache on a proxy server (only the first
              document affected).

              allows  a  list  of  services to be disabled selec­
              tively. Dashes and underscores in option names  can
              be  intermixed. The following list is printed if no
              options are specified.

              all - restricts all options listed below.

              bookmark - disallow changing the  location  of  the
              bookmark file.

              bookmark_exec  -  disallow  execution links via the
              bookmark file.

              change_exec_perms - disallow changing  the  eXecute
              permission  on files (but still allow it for direc­
              tories) when local file management is enabled.

              default - same as command line  option  -anonymous.
              Disables default services for anonymous users.  Set
              to all restricted, except for: inside_telnet,  out­
              side_telnet,        inside_ftp,        outside_ftp,
              inside_rlogin,  outside_rlogin,  inside_news,  out­
              side_news,  telnet_port,  jump,  mail, print, exec,
              and goto.  The settings for these, as well as addi­
              tional  goto  restrictions for specific URL schemes
              that are also applied, are derived from definitions
              within userdefs.h.

              dired_support - disallow local file management.

              disk_save - disallow saving to disk in the download
              and print menus.

              dotfiles - disallow access to, or creation of, hid­
              den (dot) files.

              download  -  disallow some downloaders in the down­
              load menu (does not imply disk_save restriction).

              editor - disallow external editing.
              goto - disable the 'g' (goto) command.

              inside_ftp  -  disallow ftps for people coming from
              inside your domain (utmp required for selectivity).

              inside_news - disallow USENET news posting for peo­
              ple coming from inside your domain  (utmp  required
              for selectivity).

              inside_rlogin  - disallow rlogins for people coming
              from inside your domain (utmp required  for  selec­

              inside_telnet  - disallow telnets for people coming
              from inside your domain (utmp required  for  selec­

              jump - disable the 'j' (jump) command.

              multibook - disallow multiple bookmarks.

              mail - disallow mail.

              news_post - disallow USENET News posting.

              options_save  - disallow saving options in .lynxrc.

              outside_ftp - disallow ftps for people coming  from
              outside  your  domain  (utmp required for selectiv­

              outside_news - disallow  USENET  news  reading  and
              posting  for people coming from outside your domain
              (utmp required for selectivity).  This  restriction
              applies to "news", "nntp", "newspost", and "newsre­
              ply" URLs, but  not  to  "snews",  "snewspost",  or
              "snewsreply" in case they are supported.

              outside_rlogin - disallow rlogins for people coming
              from outside your domain (utmp required for  selec­

              outside_telnet - disallow telnets for people coming
              from outside your domain (utmp required for  selec­

              print - disallow most print options.

              shell  -  disallow  shell  escapes  and lynxexec or
              lynxprog G)oto's.

              suspend - disallow  Unix  Control-Z  suspends  with

              disable recognition of rlogin commands.

              toggles showing scrollbar.

              toggles showing arrows at ends of the scrollbar.

              require .www_browsable files to browse directories.

              show  very  long URLs in the status line with "..."
              to represent the portion which cannot be displayed.
              The  beginning  and  end  of the URL are displayed,
              rather than suppressing the end.

              If enabled the cursor will not  be  hidden  in  the
              right hand corner but will instead be positioned at
              the start of the  currently  selected  link.   Show
              cursor   is   the   default   for  systems  without
              FANCY_CURSES capabilities.  The default  configura­
              tion can be changed in userdefs.h or lynx.cfg.  The
              command line switch toggles the default.

              If enabled the transfer rate is shown in bytes/sec­
              ond.   If disabled, no transfer rate is shown.  Use
              lynx.cfg or the options menu  to  select  KB/second
              and/or ETA.

              toggles  emulation  of  the old Netscape and Mosaic
              bug which treated '>' as a co-terminator  for  dou­
              ble-quotes and tags.

              works  the  same  as  dump  but outputs HTML source
              instead of formatted text.

              disable SIGINT cleanup handler

              allow non-http startfile and homepage  with  -vali­

       -stdin read the startfile from standard input (UNIX only).

              port that starts a script  that,  in  turn,  starts
              another Lynx process.)

              For  win32,  sets the network read-timeout, where N
              is given in seconds.

       -tlog  toggles between using a Lynx Trace Log  and  stderr
              for trace output from the session.

       -tna   turns on "Textfields Need Activation" mode.

       -trace turns  on  Lynx  trace  mode.  Destination of trace
              output depends on -tlog.

              turn on optional traces, which may result  in  very
              large trace files.  Logically OR the values to com­
              bine options:
              1=SGML character parsing states
              4=TRST (table layout)

              traverse all http  links  derived  from  startfile.
              When  used  with -crawl, each link that begins with
              the same string as startfile is output to  a  file,
              intended for indexing.  See CRAWL.announce for more

              trim input text/textarea fields in forms.

              toggles use of _underline_ format in dumps.

              turn on mouse support, if available.  Clicking  the
              left mouse button on a link traverses it.  Clicking
              the right mouse button pops back.  Click on the top
              line  to  scroll  up.   Click on the bottom line to
              scroll down.  The first few positions  in  the  top
              and  bottom  line  may invoke additional functions.
              Lynx must be compiled with ncurses or slang to sup­
              port  this  feature.   If ncurses is used, clicking
              the middle mouse button  pops  up  a  simple  menu.
              Mouse  clicks  may only work reliably while Lynx is
              idle waiting for input.

              set alternate Lynx User-Agent header.

              enable Waterloo tcp/ip packet debug (print to  watt
              debugfile).  This applies only to DOS versions com­
              piled with WATTCP or WATT-32.

              number of columns for formatting of dumps,  default
              is 80.

              emit  backspaces in output if -dumping or -crawling
              (like 'man' does)


       o Use Up arrow and Down arrow to scroll through  hypertext
       o  Right  arrow or Return will follow a highlighted hyper­
       text link.
       o Left Arrow will retreat from a link.
       o Type "H" or "?" for online help and descriptions of key-
       stroke commands.
       o  Type  "K" for a complete list of the current key-stroke
       command mappings.


       In addition to various  "standard"  environment  variables
       such  as HOME, PATH, USER, DISPLAY, TMPDIR, etc, Lynx uti­
       lizes several Lynx-specific environment variables, if they

       Others  may be created or modified by Lynx to pass data to
       an external program, or  for  other  reasons.   These  are
       listed separately below.

       See  also the sections on SIMULATED CGI SUPPORT and NATIVE
       LANGUAGE SUPPORT, below.

       Note:  Not all environment variables apply to all types of
       platforms  supported by Lynx, though most do.  Feedback on
       platform dependencies is solicited.

       Environment Variables Used By Lynx:

       COLORTERM           If set, color capability for the  ter­
                           minal  is  forced  on at startup time.
                           The actual value assigned to the vari­
                           able  is  ignored.   This  variable is
                           only  meaningful  if  Lynx  was  built
                           using    the   slang   screen-handling

       LYNX_CFG            This variable, if set,  will  override
       LYNX_SAVE_SPACE     This  variable,  if set, will override
                           the  default  path  prefix  for  files
                           saved  to  disk that is defined in the
                           lynx.cfg SAVE_SPACE:  statement.   See
                           the  lynx.cfg  file  for more informa­

       LYNX_TEMP_SPACE     This variable, if set,  will  override
                           the  default path prefix for temporary
                           files that was defined during  instal­
                           lation,  as well as any value that may
                           be assigned to the TMPDIR variable.

       MAIL                This variable  specifies  the  default
                           inbox Lynx will check for new mail, if
                           such  checking  is  enabled   in   the
                           lynx.cfg file.

       NEWS_ORGANIZATION   This  variable,  if  set, provides the
                           string  used  in   the   Organization:
                           header  of  USENET  news postings.  It
                           will override the setting of the ORGA­
                           NIZATION  environment  variable, if it
                           is also set (and, on  UNIX,  the  con­
                           tents of an /etc/organization file, if

       NNTPSERVER          If set, this  variable  specifies  the
                           default  NNTP server that will be used
                           for USENET news  reading  and  posting
                           with Lynx, via news: URL's.

       ORGANIZATION        This  variable,  if  set, provides the
                           string  used  in   the   Organization:
                           header  of  USENET  news postings.  On
                           UNIX, it will override the contents of
                           an /etc/organization file, if present.

       PROTOCOL_proxy      Lynx supports the use of proxy servers
                           that  can act as firewall gateways and
                           caching servers.  They are  preferable
                           to  the  older  gateway  servers  (see
                           WWW_access_GATEWAY, below).  Each pro­
                           tocol   used   by  Lynx,  (http,  ftp,
                           gopher, etc), can be mapped separately
                           by  setting  environment  variables of
                           the  form  PROTOCOL_proxy  (literally:
                           http_proxy,  ftp_proxy,  gopher_proxy,
                           etc),                               to
                           "http://some.server.dom:port/".    See
                           Lynx  Users   Guide   for   additional
                           details and examples.
                           the default startup URL  specified  in
                           any of the Lynx configuration files.

       Environment Variables Set or Modified By Lynx:

       LYNX_PRINT_DATE     This  variable  is  set  by  the  Lynx
                           p(rint) function, to the Date:  string
                           seen  in  the  document's "Information
                           about" page (= cmd), if  any.   It  is
                           created  for  use  by an external pro­
                           gram,  as  defined   in   a   lynx.cfg
                           PRINTER: definition statement.  If the
                           field does not exist for the document,
                           the  variable  is set to a null string
                           under UNIX, or "No Date" under VMS.

       LYNX_PRINT_LASTMOD  This  variable  is  set  by  the  Lynx
                           p(rint)  function,  to  the  Last Mod:
                           string seen in the document's  "Infor­
                           mation  about"  page  (= cmd), if any.
                           It is created for use by  an  external
                           program,  as  defined  in  a  lynx.cfg
                           PRINTER: definition statement.  If the
                           field does not exist for the document,
                           the variable is set to a  null  string
                           under UNIX, or "No LastMod" under VMS.

       LYNX_PRINT_TITLE    This  variable  is  set  by  the  Lynx
                           p(rint)  function,  to  the  Linkname:
                           string seen in the document's  "Infor­
                           mation  about"  page  (= cmd), if any.
                           It is created for use by  an  external
                           program,  as  defined  in  a  lynx.cfg
                           PRINTER: definition statement.  If the
                           field does not exist for the document,
                           the variable is set to a  null  string
                           under UNIX, or "No Title" under VMS.

       LYNX_PRINT_URL      This  variable  is  set  by  the  Lynx
                           p(rint) function, to the  URL:  string
                           seen  in  the  document's "Information
                           about" page (= cmd), if  any.   It  is
                           created  for  use  by an external pro­
                           gram,  as  defined   in   a   lynx.cfg
                           PRINTER: definition statement.  If the
                           field does not exist for the document,
                           the  variable  is set to a null string
                           under UNIX, or "No URL" under VMS.

       LYNX_TRACE          If set, causes Lynx to write  a  trace
                           file as if the -trace option were sup­
                           OPTIONS  section above), Lynx will set
                           or modify its value to the user speci­
                           fied  terminal type (for the Lynx exe­
                           cution   environment).     Note:    If
                           set/modified  by  Lynx,  the values of
                           the LINES and/or  COLUMNS  environment
                           variables may also be changed.


       If  built  with  the cgi-links option enabled, Lynx allows
       access to a cgi script directly without the  need  for  an
       http daemon.

       When  executing  such  "lynxcgi scripts" (if enabled), the
       following variables may be set for simulating a CGI  envi­














       Other  environment  variables  are  not  inherited  by the
       script, unless they are provided via a LYNXCGI_ENVIRONMENT
       statement  in  the  configuration  file.  See the lynx.cfg
       file,   and   the   (draft)    CGI    1.1    Specification
       for the definition and usage of these variables.

       The CGI Specification, and other associated documentation,
       should  be consulted for general information on CGI script
                           an ISO 639 two-letter code identifying
                           the language.  Language codes are  NOT
                           the same as the country codes given in
                           ISO 3166.

       LANGUAGE            This variable, if set,  will  override
                           the default message language.  This is
                           a GNU extension that has higher prior­
                           ity  for  setting  the message catalog
                           than LANG or LC_ALL.

       LC_ALL              and

       LC_MESSAGES         These variables, if set,  specify  the
                           notion  of  native language formatting
                           style.  They are POSIXly correct.

       LINGUAS             This variable, if set prior to config­
                           uration,  limits  the  installed  lan­
                           guages to specific values.   It  is  a
                           space-separated   list  of  two-letter
                           codes.  Currently, it is hard-coded to
                           a wish list.

       NLSPATH             This  variable, if set, is used as the
                           path prefix for message catalogs.


       This is the Lynx v2.8.4 Release

       If you wish to contribute to the  further  development  of
       Lynx,  subscribe  to  our  mailing  list.   Send  email to
       <majordomo@sig.net> with "subscribe lynx-dev" as the  only
       line in the body of your message.

       Send   bug   reports,   comments,  suggestions  to  <lynx-
       dev@sig.net> after subscribing.

       Unsubscribe by sending email to  <majordomo@sig.net>  with
       "unsubscribe  lynx-dev"  as  the  only line in the body of
       your message.  Do not send the unsubscribe message to  the
       lynx-dev list, itself.


       catgets(3),   curses(3),  environ(7),  execve(2),  ftp(1),
       gettext(GNU),  localeconv(3),  ncurses(3),   setlocale(3),
       slang(?), termcap(5), terminfo(5), wget(GNU)

       Note  that  man page availability and section numbering is
       somewhat platform dependent, and may vary from  the  above

       Earl Fogel of Computing  Services  at  the  University  of
       Saskatchewan,  who  implemented HYPERREZ in the Unix envi­
       ronment.   HYPERREZ  was  developed  by  Niel  Larson   of
       Think.com  and  served as the model for the early versions
       of Lynx.  Those versions also incorporated libraries  from
       the  Unix  Gopher  clients  developed at the University of
       Minnesota, and the later versions of Lynx rely on the  WWW
       client  library  code developed by Tim Berners-Lee and the
       WWW community.  Also a special thanks to  Foteos  Macrides
       who  ported  much of Lynx to VMS and did or organized most
       of its development since the departures  of  Lou  Montulli
       and  Garrett  Blythe  from the University of Kansas in the
       summer of 1994 through the release of v2.7.2, and  to  ev­
       eryone  on  the net who has contributed to Lynx's develop­
       ment either directly (through patches, comments or bug re­
       ports)  or indirectly (through inspiration and development
       of other systems).


       Lou Montulli,  Garrett  Blythe,  Craig  Lavender,  Michael
       Grobe, Charles Rezac
       Academic Computing Services
       University of Kansas
       Lawrence, Kansas 66047

       Foteos Macrides
       Worcester Foundation for Biomedical Research
       Shrewsbury, Massachusetts 01545

                              Local                       LYNX(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.12 Seconds