Linux technical support - support@alexlinux.com


aliases

/etc/profile.d/00-aliases.sh

# k8s
alias kc='kubectl'
alias kg='kubectl get'
alias kd='kubectl describe'
alias sp='kubectl get pods -o wide'
alias sa='kubectl get rc,pods,deployment,daemonset,svc,ingress,secrets,configmaps,serviceaccounts,services --all-namespaces=true'

# asterisk
alias asc='asterisk -vvvvvvr'
alias asr='asterisk -rx "core reload"'

# docker
alias di='docker images'
alias dpa='docker ps -a'
alias dp='docker ps'

# systemctl
alias res='systemctl restart'
alias rel='systemctl reload'
alias sta='systemctl status'

alias gb='git add . && git commit -m "backup" && git push'

alias sugit='sudo su - git'

alias s='sudo -s'

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>