.bashrc: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 14: Line 14:
alias csr='openssl req -text -noout -verify -in '
alias csr='openssl req -text -noout -verify -in '
alias pkcs12='openssl pkcs12 -info -in '
alias pkcs12='openssl pkcs12 -info -in '
#marty's ssl
alias certcheck='openssl x509 -subject -issuer -dates -in '
alias x509='openssl x509 -subject -issuer -dates -noout'
alias x509-long='openssl x509 -text -certopt no_header,no_sigdump,no_pubkey '


# hosts
# 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=/bin/vi
Line 36: Line 36:
# export PS1='[\u@\H \W]\$ '
# export PS1='[\u@\H \W]\$ '
# export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
# export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
alias nocomments='grep -Ev "^\s*#|^\s*$"'


</pre>
</pre>

Latest revision as of 14:48, 26 January 2018


# 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 '

#marty's ssl
alias certcheck='openssl x509 -subject -issuer -dates -in '
alias x509='openssl x509 -subject -issuer -dates -noout'
alias x509-long='openssl x509 -text -certopt no_header,no_sigdump,no_pubkey '

# hosts

#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\] '

alias nocomments='grep -Ev "^\s*#|^\s*$"'