Writes the history
$filename
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