Created
August 30, 2018 16:50
-
-
Save tareqy/8d763d66215abc7a535aee646fd1f3c0 to your computer and use it in GitHub Desktop.
Add Custom Commands to Linux shell
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
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific aliases and functions | |
alias sshr='ssh -l root' | |
alias cats='cat /opt/appdata/hosts.db | grep' | |
alias copymyid='ssh-copy-id -i .ssh/id_rsa.pub' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment