Writes the history
$filename
null
This function writes the command history to a file.
filename
Path to the saved file.
Returns true on success or false on failure.
true
false