Professional Documents
Culture Documents
Command History:
Command History keeps a log of all commands that you run at the command prompt.
This feature is enabled by default. Bash shell stores command history in a file located in user's home directory.
Following command can tell you where the command history file is located:
#- echo $HISTFILE
/root/.bash_history