Skip to content

Instantly share code, notes, and snippets.

@strund3r
Last active September 6, 2017 23:23
Show Gist options
  • Save strund3r/2fbfa51abb4543c881fc0553dc9edef7 to your computer and use it in GitHub Desktop.
Save strund3r/2fbfa51abb4543c881fc0553dc9edef7 to your computer and use it in GitHub Desktop.
# System
alias update='sudo apt-get update'
alias upgrade='update; sudo apt-get -y upgrade'
alias install='sudo apt-get -y install'
alias shutdown='sudo /sbin/shutdown -P now'
alias kabum='init 0'
alias checkversions='~/check_versions.sh'
# Docker
alias docker-ip="docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'"
alias docker-server="docker -H localhost:2374"
alias docker-stop="docker stop $(docker ps -a -q)"
alias docker-remove="docker rm $(docker ps -a -q)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment