HOWTO: Colors On Mac Terminal & Hash Checking (SHA1SUM & MD5SUM)
Posted by Mr. IT Guy | Filed under Howto, Mac OSX, Operating System
Colorize
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
- Run “sudo vi /usr/share/vim/vimrc”
- 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: color, color vi, color vim, hash, mac, Mac OSX, md5, md5sum, sha1, sha1sum, term, terminal, vim, xterm