history : GNU History Library
[SYNOPSIS] history OPTION
OPTION
-c clear the history list by deleting all of the entries
-a append history lines from this session to the history file
-n read all history lines not already read from the history file and append them to the history list
-r read the history file and append the contents to the history list
-w write the current history to the history file
-p perform history expansion on each ARG and display the result without storing it in the history list
-s append the ARGs to the history list as a single entry