Linux Bash Shell history is useful when you have more than one administrator in your group and you would like to check what action is being done earlier.
To view the history in the bash shell, simply press history
To edit the setting of the history,
# vi ~/.bashrc
Change the setting according to your need.