.bashrc: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
# tools | |||
alias screen="screen -e ^Wa" | alias screen="screen -e ^Wa" | ||
alias more='less' | alias more='less' | ||
alias mkpass='head -c8 /dev/random | uuencode -m - | sed -n '\''2s/=*$//;2p'\''' | 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 area="ssh david@www.areabingo.com" | ||
alias jump1="ssh -i /home/david/dathornton.openssh dathornton@localhost -p 2222" | alias jump1="ssh -i /home/david/dathornton.openssh dathornton@localhost -p 2222" | ||
alias nex="ssh david@localhost -p 2221" | alias nex="ssh david@localhost -p 2221" | ||
alias scalar='ssh dthornton@74.213.172.115' | alias scalar='ssh dthornton@74.213.172.115' | ||
alias ubc='ssh david@142.103.241.208' | alias ubc='ssh david@142.103.241.208' | ||
#export EDITOR=/bin/vi | #export EDITOR=/bin/vi | ||
export EDITOR=/usr/bin/vi | export EDITOR=/usr/bin/vi | ||
export CVSROOT=/var/cvs | export CVSROOT=/var/cvs | ||
alias cvsls='find . | grep -v CVS' | alias cvsls='find . | grep -v CVS' | ||
alias cvsstatus='cvs status | grep ^F | grep -v Up-to-date' | alias cvsstatus='cvs status | grep ^F | grep -v Up-to-date' |
Revision as of 17:54, 23 July 2014
# 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\] '