-
-
Save felipepodesta/afe1fa317fa40aa866907d115613dfea to your computer and use it in GitHub Desktop.
My .bash_aliases
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
# Shortcuts | |
alias hisgrep='history | grep' | |
alias syslog='sudo tail -f /var/log/kern.log' | |
alias aliasopen='vim ~/.bash_aliases' | |
alias editweb='vim routes/web.php' | |
alias aliassource='source ~/.bash_aliases' | |
alias hostsopen='sudo vim /etc/hosts' | |
alias neth='sudo nethogs ppp0' | |
alias dial='sudo wvdial --config=wvdial.conf' | |
alias dialg='sudo wvdial --config=gwvdial.conf' | |
alias dialc='sudo wvdialconf' | |
alias pings='ping 8.8.8.8' | |
alias suge='sudo gedit' | |
alias sule='sudo leafpad' | |
# Laravel commands | |
alias art='./artisan' | |
alias routes='./artisan route:list' | |
alias lvchmod='sudo chmod 777 -R' | |
alias pings='ping 8.8.8.8' | |
# sudo apt | |
alias sagu='sudo apt update' | |
alias sagi='sudo apt install' | |
alias sagr='sudo apt remove' | |
alias sagup='sudo apt upgrade' | |
alias sacp='sudo apt-cache policy' | |
# Youtube-dl | |
alias ydlmp3='youtube-dl -f 140 --prefer-ffmpeg --extract-audio --audio-format mp3' | |
alias ydlmp4='youtube-dl -f 135+140' | |
alias ydlmp4360='youtube-dl -f 134+140' | |
alias ydlcheck='youtube-dl -F' | |
# PHPUnit | |
alias punit='vendor/bin/phpunit' | |
alias punitf='vendor/bin/phpunit --filter' | |
alias punits='vendor/bin/phpunit --stop-on-failure' | |
alias punitsf='vendor/bin/phpunit --stop-on-failure --filter' | |
alias wpunit='phpunit-watcher watch' | |
alias wpunits='phpunit-watcher watch --stop-on-failure' | |
alias wpunitf='phpunit-watcher watch --filter' | |
alias wpunitsf='phpunit-watcher watch --stop-on-failure --filter' | |
# GIT | |
alias gco='git checkout' | |
alias gcb='git checkout -b' | |
alias gcm='git checkout master' | |
alias gcd='git checkout develop' | |
alias gst='git status -s' | |
alias grh='git reset --hard' | |
alias glg='git log --oneline --all --graph --decorate' | |
alias gbr='git branch ' | |
alias gnm='git branch --no-merged' | |
alias grv='git remote -v' | |
alias gitcleanup='git reset --hard && git clean -df' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment