diff --git a/bashrc b/bashrc index a9038e33..2f083300 100755 --- a/bashrc +++ b/bashrc @@ -336,6 +336,14 @@ alias refreshgroups="exec su -l $USER" # Incasesensitive grepping alias grep="grep -i" +# Get public key lenght of (public) SSH key +alias ssh-pubkey-length="ssh-keygen -lf " + +# MSDOS commands. MSDOS is after every alias line to get these lines easily by grepping. +alias cls=clear # MSDOS +alias help=man # MSDOS +alias ipconfig=ifconfig # MSDOS + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/zshrc b/zshrc index 3cf4380e..54d2fde2 100755 --- a/zshrc +++ b/zshrc @@ -285,6 +285,14 @@ alias refreshgroups="exec su -l $USER" # Incasesensitive grepping alias grep="grep -i" +# Get public key lenght of (public) SSH key +alias ssh-pubkey-length="ssh-keygen -lf " + +# MSDOS commands. MSDOS is after every alias line to get these lines easily by grepping. +alias cls=clear # MSDOS +alias help=man # MSDOS +alias ipconfig=ifconfig # MSDOS + # .aliases if [ -f ~/.aliases ]; then source ~/.aliases