Increase bash history size on Mac

  1. Add below lines to end of ~/.bash_profile
  2. Source result or log out and back in
    1. source ~/.bash_profile
  3. Test
    1. echo $HISTFILESIZE
    2. echo $HISTSIZE
export HISTFILESIZE=2500

export HISTSIZE=""


Post a Comment

Popular posts from this blog

Debugging pfsense firewall rules clearly and easily

Direct ssh to a server via proxy using putty/plink on Windows

telnet vs netcat