.LESSHST File Extension

Less Search History

Developer Greenwood Software
2.0  |  1 Vote

What is a LESSHST file?

A LESSHST file is a search history file created by less, a terminal pager program for PCs. It contains a record of the search commands a user has entered in less. Less uses its LESSHST file to remember the previous text searches a user has performed.

More Information

Less is a program that allows users to read (but not edit) text files in a terminal window. It is included with many Unix distributions (including macOS) and also available for Windows.

While reading a text file in less, users can search for text within the document. To do so, they use the program's search commands (by pressing the / or ? keys) and then enter the text for which they want to search.

By default, less stores a record of a user's text searches in a LESSHST file. This allows the user to both view all the searches they've performed and quickly resume their last-conducted search (by pressing the n or N key). Less typically stores its LESSHST file in the user's home directory.

NOTE: To stop less from creating a LESSHST file, set the LESSHISTFILE variable to -.

How to open a LESSHST file

You can open a LESSHST file with Vim, Apple TextEdit, or Microsoft Notepad, to view or edit the less search history it contains.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference LESSHST files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Less Search History file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.