Skip to content

Instantly share code, notes, and snippets.

@dario61081
Created July 20, 2017 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dario61081/7ddc747511307c8029136e5bcab75fd0 to your computer and use it in GitHub Desktop.
Save dario61081/7ddc747511307c8029136e5bcab75fd0 to your computer and use it in GitHub Desktop.
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias wsreset='/etc/init.d/glassfishDT restart'
alias gfreset='/etc/init.d/glassfish4D restart'
echo '****** Tooltip Tecnico FARMA S.A. ******'
echo 'Comando Observacion'
echo '======= ==========='
echo 'wsreset Reiniciar servidor GlassFishDT'
echo 'gfreset Reiniciar servidor GlassFish4D'
echo 'wslog Para ver log DTTracker'
echo 'mysqladmin Admin Mysql'
echo ' '
echo 'WarehouseTracker Services Path'
echo 'La instancia del servicio es: '
echo `fuser 9090/tcp`
echo ''
echo 'Path: /usr/local/webservices'
echo 'Comando Observacion'
echo '======= ==========='
echo 'start_service ReRun Service'
echo 'wareport Ver instancia del servicio'
echo '****************************************'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
alias start_service='./start.sh'
alias mysqladmin='mysql --user=root --password=MyP@s5'
alias wslog='tail -f /usr/glassfish/glassfish4/glassfish/domains/dtracker/logs/server.log'
alias wareport='fuser 9090/tcp'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment