dotfiles/.bash_aliases

40 lines
875 B
Bash
Raw Normal View History

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-12-28 19:06:44 +01:00
alias scs="systemctl status "
alias scr="systemctl restart "
alias scw="watch systemctl status "
2021-03-29 12:28:35 +02:00
alias hostname="hostname -f"
alias what="whoami && pwd && hostname -f"
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 "
2021-04-08 18:53:49 +02:00
alias sodu="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"
2021-03-29 12:28:35 +02:00
# safeguard
alias mv="mv -i "
alias cp="cp -i "
alias rm="rm -i "