Customising the less command

The less command can be given a number of options that change its behaviour.

These options are used by setting the value of the LESS environment variable.

Options given at the command line override those set by the environment variable. An option that is given in the LESS variable can be reset by starting the command line option with "-+".

[Home] [Search] [Index] This site maintained by