What does Linux less -f or –force option do?

Less -f or –force option 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.

Leave a Reply