.HISTORY Estensione file

Unix C Shell History

Sviluppatore N/D
Popolarità
2.0  |  3 Voti
 

Che cos'è un file HISTORY?

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.

Maggiori informazioni

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)

Nomi file .HISTORY comuni

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

Come aprire un file HISTORY

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.

Apri oltre 400 formati di file con File Viewer Plus.Download gratuito

Programmi che aprono i file HISTORY

Windows
Incluso nel sistema operativo
Mac
Incluso nel sistema operativo
Linux
FreeBSD C shell (and variants)
Categoria: Dati
Aggiornato: 2022-08-22

Verificato da FileInfo.com

Il team di FileInfo.com ha analizzato in modo indipendente il formato file Unix C Shell History e le app Mac, Windows, and Linux elencate in questa pagina. Il nostro obiettivo è il 100% di accuratezza e pubblichiamo solo informazioni sui tipi di file che abbiamo verificato.

Se desideri suggerire aggiunte o aggiornamenti a questa pagina, faccelo sapere.