dotfiles/.bash_aliases

41 lines
930 B
Bash
Raw Normal View History

2021-01-31 11:22:13 +01:00
# aliase auch mit sudo
# https://askubuntu.com/questions/22037/aliases-not-available-when-using-sudo
alias sudo='sudo '
2020-11-30 09:04:55 +01:00
# tmux
2020-11-30 19:32:46 +01:00
alias tmuxa="tmux a -t "
2020-07-12 20:15:58 +02:00
alias tmuxn="tmux new -s "
alias tmuxl="tmux ls"
alias tmuxk="tmux kill-session -t"
2020-11-30 09:04:55 +01:00
# abkuerzungen
2020-07-12 20:15:58 +02:00
alias cls="clear"
alias df="df -h"
alias grep="grep -i --color=auto"
2020-08-10 08:58:36 +02:00
alias ll="ls -lah"
2021-01-02 14:37:32 +01:00
alias l="ls"
2020-07-12 20:15:58 +02:00
alias dig="dig +short "
2020-08-02 19:48:40 +02:00
alias tf="tail -f "
2020-11-30 09:04:55 +01:00
alias si6="sudo init 6"
alias si0="sudo init 0"
2020-12-28 19:06:44 +01:00
alias scs="systemctl status "
alias scr="systemctl restart "
alias scw="watch systemctl status "
2021-01-16 14:48:51 +01:00
alias scat="sudo cat "
2020-11-30 09:04:55 +01:00
# typo
2020-11-26 09:24:31 +01:00
alias mkae="make "
alias amke="make "
alias maek="make "
2020-11-29 14:48:38 +01:00
alias sduo="sudo "
alias sdou="sudo "
2020-11-30 09:04:55 +01:00
alias sudo-i="sudo -i"
2020-11-26 09:24:31 +01:00
alias cd..="cd .."
2020-11-29 14:09:50 +01:00
alias exot="exit"
2020-11-30 09:04:55 +01:00
alias nao="nano"
alias naho="nano"
2020-12-19 11:51:53 +01:00
alias dicker="docker"
2020-11-30 09:04:55 +01:00
# docker
2020-11-26 09:24:31 +01:00
alias dcu="docker-compose up"
alias dcd="docker-compose down"
2020-12-18 21:13:02 +01:00
alias dcr="docker-compose down && docker-compose up -d"
2020-12-17 10:12:21 +01:00
# vi
alias vi="vim"