The history command toggles on and off the recording of commands in the history buffer used by the recall command. The default is on. The history is kept in memory for the current session; the up and down arrow keys (via readline) provide the same recall with editing.