Direktori : /etc/profile.d/ |
Current File : //etc/profile.d/history.sh |
# Managed by Salt # how many lines to keep in the history FILE export HISTFILESIZE=500000 # how many lines to keep in memory for this SESSION export HISTSIZE=10000 # add a timestamp to log entries HISTTIMEFORMAT="(%m/%d/%y) %T " export HISTTIMEFORMAT # append the history for all terminals shopt -s histappend PROMPT_COMMAND="${PROMPT_COMMAND:-:}; history -a"