Use a opção -f
:
-f or --force
Forces non-regular files to be opened. (A non-regular file is a directory or
a device special file.) Also suppresses the warning message when a binary
file is opened. By default, less will refuse to open non-regular files.
Note that some operating systems will not allow directories to be read, even
if -f is set.
Você pode adicionar essa opção à variável de ambiente LESS
em .bashrc para executar less
por padrão com -f
.
export LESS='-f'