Last active
December 12, 2015 12:49
-
-
Save alejandrobernardis/4774443 to your computer and use it in GitHub Desktop.
Temp Profile... VB
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:..:...:ll:lla" | |
| # ((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 edit-profile='joe ~/.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 vhost='cd $vhost_dir;' | |
| alias h='history' | |
| alias j='jobs -l' | |
| # ((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 gpumeminfo='grep -i --color memory /var/log/Xorg.0.log' | |
| 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