Created
September 21, 2012 01:46
-
-
Save lvjian700/3759339 to your computer and use it in GitHub Desktop.
My Ubuntu alias for Java Programmer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 '; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment