Last active
August 12, 2023 05:47
-
-
Save dariocurr/9d36dc1308f29148be17672319b1ac5f to your computer and use it in GitHub Desktop.
Just some time-saving-time aliases
This file contains 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
# alias | |
## linux | |
alias c='clear' | |
alias cl='clear' | |
alias clr='clear' | |
alias aptupd='sudo apt update' | |
alias aptupg='sudo apt upgrade -y' | |
alias aptrm='sudo apt autoremove -y' | |
alias aptc='sudo apt clean' | |
alias aptup='aptupd && aptupg && aptrm && aptc' | |
## docker | |
alias docker-stop='docker stop $(docker ps -a -q)' | |
alias docker-remove='docker-stop && docker rm $(docker ps -a -q)' | |
alias docker-downup='docker compose down && docker compose up' | |
alias docker-remove-untagged-images='docker rmi $(docker images --filter "dangling=true" -q --no-trunc)' | |
## python | |
alias python='python3' | |
alias py='python' | |
alias ipy="iptyhon" | |
alias ibf='isort . && black . && flake8 .' | |
alias pyserver='python -m http.server' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment