Last active
December 13, 2015 18:18
-
-
Save alejandrobernardis/4954034 to your computer and use it in GitHub Desktop.
proc3ss_bash_profile
This file contains hidden or 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
# ((ak)) config | |
export HISTCONTROL=ignoredups:ignorespace | |
export HISTSIZE=5000 | |
export HISTFILESIZE=1000 | |
export HISTIGNORE="ls:cd:[bf]g:exit:..:...:l:l.:ll:la:h:history:edit-profile:reload-profile" | |
# ((ak)) helpers | |
alias l='ls -l'; | |
alias l.='ls -d .*' | |
alias ll='ls -Al'; | |
alias la='ls -A'; | |
alias rshutdown='shutdown -r now' | |
alias pshutdown='shutdown -P now' | |
alias py='/usr/local/bin/python2.7' | |
alias python='/usr/local/bin/python2.7' | |
alias python27='/usr/local/bin/python2.7' | |
alias pypackage='cd /usr/local/lib/python2.7/site-packages' | |
alias pybuild='python setup.py build' | |
alias pyinstall='python setup.py install' | |
alias edit-profile='nano ~/.bash_profile' | |
alias reload-profile='. ~/.bash_profile' | |
alias rmpyc='find . -name "*.pyc" -exec rm -rf {} \;' | |
alias rmsvn='find . -name ".svn" -exec rm -rf {} \;' | |
alias rmdot='find . -name ".*" -exec rm -rf {} \;' | |
alias h='history' | |
# ((ak)) system | |
alias meminfo='free -m -l -t' | |
alias psmem='ps auxf | sort -nr -k 4' | |
alias psmem10='ps auxf | sort -nr -k 4 | head -10' | |
alias pscpu='ps auxf | sort -nr -k 3' | |
alias pscpu10='ps auxf | sort -nr -k 3 | head -10' | |
alias cpuinfo='lscpu' | |
alias df='df -H' | |
alias du='du -ch' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment