Skip to main content
4 of 5
The <strike> obscured the thing you were trying to illustrate. Better wording.

Just prefix it with ./:

less ./- 

Or use redirection:

less < - 

Note that since - (as opposed to -x or --foo-- for instance) is considered a special filename rather than an option,

less -- - 

won't work.

Howard
  • 5.3k
  • 5
  • 32
  • 34