With Lynx, how can I change the startup page?
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://mypage.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://mypage.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 At IU, how do I get support for Linux or Unix?
Last modified on December 31, 2008.







