LATEST VERSION: 8.2.5 - CHANGELOG
Pivotal GemFire® v8.2

history

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 .gfsh.history file in the home directory of the user running gfsh.

Availability: Online or offline.

Syntax:
history [--file=<history text file>]
Table 1. Parameters
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
Example Commands:
history
history --file=./mycommands.gfsh;
Sample Output:
gfsh>history --file=./mycommands.gfsh
Wrote successfully to file ./mycommands.gfsh