Server migration cheat sheet

Have history with timestamps May not be enabled by default on a new server ~/.bash_profile: if [ -f ~/.bashrc ]; then . ~/.bashrc fi ~/.bashrc: # Enable timestamp in history export HISTTIMEFORMAT=”%F %T ” # Make history append instead of overwrite shopt -s histappend # Increase history size export HISTSIZE=1000000 export HISTFILESIZE=2000000 (optional) Automatically cd… Continue reading Server migration cheat sheet