Skip to content

Comment on Huffshell: You probably type too much.

Comments

I was inspired by this to share the rebuild alias I've finally come up with:

  sf = tcstop && mvp stretch-base,stretch-app && tcs
    tcstop = ~/tomcat6/bin/catalina.sh stop
    mvp = mvn package -projects
    tcs = cl && tcstart && sti
		cl = cleard; cleari; cleare; cleart
			cleard = find /cygdrive/c/var/log/tomcat6/*.debug -exec truncate -s 0 {} \;
			cleari = find /cygdrive/c/var/log/tomcat6/*.info -exec truncate -s 0 {} \;
			cleare = find /cygdrive/c/var/log/tomcat6/*.err -exec truncate -s 0 {} \;
			cleart = find /home/sthomas/tomcat6/logs/catalina.out -exec truncate -s 0 {} \;
		tcstart = ~/tomcat6/bin/catalina.sh start
		sti = tail -f /cygdrive/c/var/log/tomcat6/*.info ~/tomcat6/logs/catalina.out
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.