Bash aliases

I was reading my default .bashrc file, and found the following:

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases

This suggested that I wanted a .bash_aliases file for my aliases, so I set one up:

jj5@sixsigma:~$ cat .bash_aliases
alias home='cd ~'
alias jj5='cd /var/www/'
alias profile='cd /var/www/'
alias chomsky='vim /var/www/'
alias henney='vim /var/www/'
alias lakoff='vim /var/www/'
alias norvig='vim /var/www/'

This is my basic “CMS” system for

Leave a Reply