My Ubuntu alias for Java Programmer
CATALINA_HOME=/home/lvjian/libs/tomcat6
#PATH=$CATALINA_HOME/bin:$PATH
# some alias about tomcat
alias tm='cd $CATALINA_HOME';
alias tmout='tail -f $CATALINA_HOME/logs/catalina.out';
alias tmstart='$CATALINA_HOME/bin/startup.sh';
alias tmstop='$CATALINA_HOME/bin/shutdown.sh';
alias tmconf='vim $CATALINA_HOME/conf/server.xml';
alias tmclear='rm -rf $CATALINA_HOME/work/*';
alias tail='tail -f';
alias cd..='cd ..';
# alias this for window cls
alias cls='clear'
# cd to my eclipse workspace
alias sts='cd ~/sts';
# cd to my netmange3-rest project, it's a Rest-ful webservice
alias nm3='cd ~/sts/netmanage3-rest';
# startup netmanage3-rest webservice.
# The code of nm3start.sh is below:
# #!/bin/bash
# cd ~/sts/netmanage3-rest/
# mvn jetty:run
alias nm3start='~/scripts/nm3start.sh';
alias shrc='vim ~/.bash_profile';
alias shs='source ~/.bash_profile';
# alias open folder, it for mac os x - open
alias openf='nautilus ';