Skip to main content

One post tagged with "bashrc"

View All Tags

· One min read
Hreniuc Cristian-Alexandru

Add this to ~/.basrc:

# Display date of the command
export HISTTIMEFORMAT="%d/%m/%y %T "

# Size(nr of lines) of the history loaded in memory?
export HISTFILESIZE=10000000
# Size(nr of lines) of the history saved in file?
export HISTFILESIZE=10000000
# Path to history file.
export HISTFILE=/home/chreniuc/data/configs/.bash_history