.HISTORY Bestandsextensie

Unix C Shell History

Ontwikkelaar N.v.t.
Populariteit
2.0  |  3 Stemmen
 

Wat is een HISTORY-bestand?

A HISTORY file is a command history created by the Unix C Shell (csh) and its variants. It contains a list of commands the user has entered in the shell. HISTORY files always use the name .history.

Meer informatie

Csh and its variants typically create or update a HISTORY file every time a user exits (not closes) the shell. The shell saves a set amount of commands from the user's most recent session, depending on the settings the user has specified in set history and set savehist. Users can also manually save their history at any time by entering history -S in the shell.

If set savehist has been set to merge the user's current history with previous histories, the shell will add the current history to an existing HISTORY file. (The file's total command list will not exceed the set history setting; old commands are removed if necessary.) If set savehist is not set to merge, the shell overwrites the previous HISTORY file.

How to show command history in csh

To print the contents of your HISTORY file in csh, enter history. You can specify additional arguments that control how the history is printed, including:

  • -h: Print without leading numbers
  • -T: Print with timestamps
  • -h: Print from most recent to oldest
  • [#]: Print only # commands (for example, history 100 to print 100 commands)

Veelvoorkomende .HISTORY-bestandsnamen

.history - The default name csh and its variants assign to command histories.

Een HISTORY-bestand openen

Because HISTORY files are plain text files, you can open them and view their contents in any text editor. You can also use the history command to view your HISTORY file's contents in csh and its variants.

Open meer dan 400 bestandsformaten met File Viewer Plus.Gratis downloaden

Programma's die HISTORY-bestanden openen

Windows
Inbegrepen bij het besturingssysteem
Mac
Inbegrepen bij het besturingssysteem
Linux
FreeBSD C shell (and variants)
Categorie: Gegevens
Bijgewerkt: 2022-08-22

Geverifieerd door FileInfo.com

Het FileInfo.com-team heeft onafhankelijk onderzoek gedaan naar het Unix C Shell History-bestandsformaat en de Mac, Windows, and Linux-apps die op deze pagina worden vermeld. Ons doel is 100% nauwkeurigheid en we publiceren alleen informatie over bestandstypen die we hebben geverifieerd.

Als u aanvullingen of updates voor deze pagina wilt voorstellen, kunt u het ons laten weten.