Set up Aliases to shorten work time

vi .bashrc

# User specific aliases and functions

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

 

vi .bash_aliases

alias set_webprod='. ~/bin/set_domain.sh web_prod'
alias start_webprod='. ~/bin/start_domain.sh web_prod'
alias stop_webprod='. ~/bin/stop_domain.sh web_prod'

alias stop_all='stop_webprod; sleep 2m; stop_X; sleep 2m; stop_X’
alias start_all='start_webprod; sleep 3m; start_X; sleep 3m; start_X'