Created
September 26, 2016 05:56
-
-
Save khoa-le/d8b90c39ca075f57cd2d4ab37b767cb3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
alias ..='cd ..' | |
alias ...='cd ../../../' | |
alias ....='cd ../../../../' | |
alias .....='cd ../../../../' | |
alias .4='cd ../../../../' | |
alias .5='cd ../../../../..' | |
alias ll="ls -lhA" | |
alias mkdir="mkdir -p" | |
alias histg="history | grep" | |
alias myip="curl http://ipecho.net/plain; echo" | |
mcd () { | |
mkdir -p $1 | |
cd $1 | |
} | |
clean_doctrine_cache () { | |
php app/console doctrine:cache:clear-metadata $1 | |
php app/console doctrine:cache:clear-query $1 | |
php app/console doctrine:cache:clear-result $1 | |
} | |
alias nginxrestart='sudo service nginx restart' | |
alias nginxstop='sudo service nginx stop' | |
alias nginxstart='sudo service nginx start' | |
alias phprestart='sudo service php7.0-fpm restart' | |
alias phpstop='sudo service php7.0-fpm stop' | |
alias phpstart='sudo service php7.0-fpm start' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment