SuSE Linux: Version 7.2
This article refers to an older version of SuSE Linux.
Therefore some of the informations given in this article may
be outdated or the article may contain stale links.
less
. This command
however uses the text based browser lynx to show HTML files. But you
want to view the source code of the HTML files.
unset LESSOPENyou disable this feature until the next logout. But with this setting all files are displayed as "raw" files. e.g. also
.gz
files.
If you want to set this option in general you can enter the above mentioned command at the end of the file .profile in your home directory.
If you want to switch this "meddling" feature on again please type in the following command:
export LESSOPEN="lessopen.sh %s"
less < index.html(Where
index.html
is the HTML file)