For example: export LESS="--quit-if-one-screen" Add this to your .bashrc and less will always act nicely, even with files shorter than one screen page. Many commands support similar environment ...