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
.geode/.gfsh.history file within the home directory of
the user running gfsh.
Availability: Online or offline.
history [--file=<history text file>]
|‑‑file||File to which the history is to be saved.|
|‑‑clear||When set to
Table 1. History Parameters
history history --file=./mycommands.gfsh;
gfsh>history --file=./mycommands.gfsh Wrote successfully to file ./mycommands.gfsh