Show 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.

history [--file=<history text file>]
file File to which the history is to be saved.
Example Commands:
history --file=./mycommands.gfsh;
Sample Output:
gfsh>history --file=./mycommands.gfsh
Wrote successfully to file ./mycommands.gfsh