Skip to content

Instantly share code, notes, and snippets.

View anallely's full-sized avatar

Anallely Olivares anallely

View GitHub Profile
@anallely
anallely / on.sh
Created September 30, 2014 13:33
Monitoring tomcat start (catalina.out)
BASEDIR=$(dirname $0)
PARENTDIR=$(dirname $(dirname $0))
$BASEDIR/startup.sh
FILE=$PARENTDIR/logs/catalina.out
tail -f $FILE |
while read line
@anallely
anallely / gist:8699610
Created January 29, 2014 23:39
Buscar por commit message
git log --all --grep='Message'
@anallely
anallely / gist:3130959
Created July 17, 2012 18:13
Bash, iterar lineas de un archivo
while read line; do git rm $line; done < eliminar.txt