Apache Geode CHANGELOG

history

Show or save the command history.

This history can be saved to a file which can also be used as a script later.

A history of commands that have been executed successfully is also logged in the .geode/.gfsh.history file within the home directory of the user running gfsh.

Availability: Online or offline.

Syntax:

history [--file=<history text file>]

Name Description Default Value
--file File to which the history is to be saved.  
--clear When set to true, clears the history of gfsh commands. false

Table 1. History Parameters

Example Commands:

history
history --file=./mycommands.gfsh;

Sample Output:

gfsh>history --file=./mycommands.gfsh
Wrote successfully to file ./mycommands.gfsh