HOWTO: Colors On Mac Terminal & Hash Checking (SHA1SUM & MD5SUM)

Why color? This will increase productivity and reduce eye strain. A quick look and you can get a quick overview of the content being displayed.

  • Enable colorized file listing (ls) – add “alias ls=’ls -G'” to ~/.bash_profile
  • Enable colorized vim
    1. Run “sudo vi /usr/share/vim/vimrc”
    2. Add the following lines to the top:
      syntax on
      filetype plugin on
      set ruler

Hash Checking
Add the following lines to your “~/.bash_profiles”:
alias md5='md5 -r'
alias md5sum='md5 -r'
alias sha1sum='openssl sha1'

Tags: , , , , , , , , , , , , ,