lesskey [--output=output] [--] [input]
lesskey -V
lesskey --version
The format of the the input file is defined in the lesskey(F) manual page. If no input file is specified, the default $HOME/.lesskey is used. If the input file is "-", standard input is read.
The output file is a binary file which is used by the less command. If no output file is specified, and the environment variable LESSKEY is set, the value of LESSKEY is used as the name of the output file. Otherwise, the default $HOME/.less is used. If the output file already exists, lesskey will overwrite it.