Last active
October 19, 2022 04:29
-
-
Save nahidacm/86e2472dad54abf15784a6bdb8d4026e to your computer and use it in GitHub Desktop.
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
# for Ubuntu edit the file ~/.bash_aliases | |
# for Centos / Redhat edit the file ~/.bashrc | |
dex() | |
{ | |
docker exec -it "$1" /bin/bash | |
} | |
alias dps='docker ps' | |
# For ubuntu After editing, run source ~/.bash_aliases | |
# For Centos / redhat After editing, run source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment