Change the startup page in Lynx
Follow the appropriate instructions below to change the web page at which Lynx opens. To find out which Unix shell you're currently using, at the Unix prompt, enter:
echo $SHELL
Using ksh
, sh
, or bash
If you use ksh
or sh
, add the line below to your .profile
. If you use bash
, add it to your .bash_profile
:
WWW_HOME=http://machine.address/~username/home.html; export WWW_HOME
Replace the URL in the above line with the URL of the page you would like Lynx to open. For example, if user dvader
at Indiana University wants Lynx to open his personal home page, he would put this line in his .profile
or .bash_profile
:
WWW_HOME=http://pages.iu.edu/~dvader/home.html; export WWW_HOME
You must log out and log in again for this change to take effect. This affects Lynx only on the account in which you've changed the initialization file.
Using tcsh
or csh
If you use tcsh
or csh
, add this line to your .cshrc
file:
setenv WWW_HOME http://machine.address/~username/home.html
Replace the URL in the above line with the URL of the page you would like Lynx to open. For example, if user dvader
wants Lynx to open his personal home page, he would put this line in his .cshrc
file:
setenv WWW_HOME http://pages.iu.edu/~dvader/home.html
You must log out and log in again for this change to take effect. This affects Lynx only on the account in which you've changed the initialization file.
At Indiana University, for personal or departmental Linux or Unix systems support, see Get help for Linux or Unix at IU.
Related documents
This is document afss in the Knowledge Base.
Last modified on 2023-07-12 12:40:41.