Created
November 21, 2020 04:36
-
-
Save kndo/94ec0648d9b63687f6eb003606f5f312 to your computer and use it in GitHub Desktop.
My useful bash aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dirs | |
alias cd1="cd .." | |
alias cd2="cd ../../" | |
alias cd3="cd ../../../" | |
alias cd4="cd ../../../../" | |
alias cd5="cd ../../../../../" | |
# files/dirs | |
alias rm="rm -i" | |
alias mv="mv -i" | |
alias cp="cp -i" | |
alias l="ls" | |
alias vi="vim" | |
# python | |
alias vv="python3 -m venv venv" | |
alias av=". venv/bin/activate" | |
alias pup="pip install --upgrade pip" | |
# container tools | |
alias k="kubectl" | |
alias d="docker" | |
alias dc="docker-compose" | |
# git | |
alias ga="git add" | |
alias gs="git status" | |
alias gc="git commit" | |
alias gb="git branch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment