.bashrc

From Federal Burro of Information
Revision as of 17:54, 23 July 2014 by David (talk | contribs)
Jump to navigationJump to search

# tools
alias screen="screen -e ^Wa"
alias more='less'
alias mkpass='head -c8 /dev/random | uuencode -m - | sed -n '\''2s/=*$//;2p'\'''
alias diffss='diff --width=120 --suppress-common-lines --side-by-side'
alias ps="ps -auwwwxf"
alias now='date +%Y%m%d%H%M%S'

# openssl
alias cert='openssl x509 -noout -subject -issuer -in '
alias key='openssl rsa -check -in '
alias csr='openssl req -text -noout -verify -in '
alias pkcs12='openssl pkcs12 -info -in '

# hosts
alias area="ssh david@www.areabingo.com"
alias jump1="ssh -i /home/david/dathornton.openssh dathornton@localhost -p 2222"
alias nex="ssh david@localhost -p 2221"
alias scalar='ssh dthornton@74.213.172.115'
alias ubc='ssh david@142.103.241.208'

#export EDITOR=/bin/vi
export EDITOR=/usr/bin/vi
export CVSROOT=/var/cvs

alias cvsls='find . | grep -v CVS'
alias cvsstatus='cvs status | grep ^F  | grep -v Up-to-date'
alias cvsdiff='cvs diff --side-by-side --width=180 --suppress-common-lines'

export HISTTIMEFORMAT='%F %T '

stty erase ^?

# export PS1='[\u@\H \W]\$ '
# export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '