40 lines
930 B
Bash
40 lines
930 B
Bash
# aliase auch mit sudo
|
|
# https://askubuntu.com/questions/22037/aliases-not-available-when-using-sudo
|
|
alias sudo='sudo '
|
|
# tmux
|
|
alias tmuxa="tmux a -t "
|
|
alias tmuxn="tmux new -s "
|
|
alias tmuxl="tmux ls"
|
|
alias tmuxk="tmux kill-session -t"
|
|
# abkuerzungen
|
|
alias cls="clear"
|
|
alias df="df -h"
|
|
alias grep="grep -i --color=auto"
|
|
alias ll="ls -lah"
|
|
alias l="ls"
|
|
alias dig="dig +short "
|
|
alias tf="tail -f "
|
|
alias si6="sudo init 6"
|
|
alias si0="sudo init 0"
|
|
alias scs="systemctl status "
|
|
alias scr="systemctl restart "
|
|
alias scw="watch systemctl status "
|
|
alias scat="sudo cat "
|
|
# typo
|
|
alias mkae="make "
|
|
alias amke="make "
|
|
alias maek="make "
|
|
alias sduo="sudo "
|
|
alias sdou="sudo "
|
|
alias sudo-i="sudo -i"
|
|
alias cd..="cd .."
|
|
alias exot="exit"
|
|
alias nao="nano"
|
|
alias naho="nano"
|
|
alias dicker="docker"
|
|
# docker
|
|
alias dcu="docker-compose up"
|
|
alias dcd="docker-compose down"
|
|
alias dcr="docker-compose down && docker-compose up -d"
|
|
# vi
|
|
alias vi="vim"
|