Just a quick note, because all I found on the web was wrong. One small episode in the Linux keyboard nightmare: how to use your PC keyboard's Home and End keys in
less, so that it goes to the start and end of the file?
cat >>/etc/lesskey <<END
lesskey -o /etc/less /etc/lesskey
echo export LESS="-k/etc/less" >>/etc/profileThis also adds a double-escape to quit.