weerok

sclabs.blogspot.com bash profile

Aug 3rd, 2012
767
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.66 KB | None | 0 0
  1. #  .bashrc config file v.03 @ 3 august 2012
  2. #   source ~/.bash_profile
  3. # increase history size
  4. # Expand the history size
  5. export HISTSIZE=100500
  6. export HISTTIMEFORMAT='%F %T '
  7. export HISTCONTROL=ignoredups
  8. export HISTIGNORE="&:ls:[bf]g:exit:[ ]*:ssh:history"
  9. alias update=/etc/periodic/weekly/310.locate
  10. alias ports="portsnap fetch update"
  11. alias psx="ps -auxww | grep $1"
  12. alias pst='dtpstree -tp'
  13. alias du='du -h -d 1'       # Makes a more readable output.
  14. alias df='echo -e;mount; echo -e;df -h'
  15. alias ll="ls -l"
  16. alias lo="ls -o"
  17. alias lh="ls -lh"
  18. alias la="ls -la"
  19. alias sl="ls"
  20. alias l="ls"
  21. alias s="ls"
  22. alias ntp="ntpdate 2.md.pool.ntp.org"
  23. alias su='su -'
  24. alias grep="egrep"
  25. alias rm='rm -i'
  26. alias m='more'
  27. alias gr='grep -v grep | grep -i'
  28. alias gre='grep -v grep | grep -i'
  29. alias grep='grep -v grep | grep -i'
  30. alias gerp='grep -v grep | grep -i'
  31. alias i='grep -v grep | grep -i'
  32. alias inc='grep -v grep | grep -i'
  33. alias include='grep -v grep | grep -i'
  34. alias mtop='mtop --dbuser=root'
  35. alias mic='make config-recursive install clean'
  36. alias mdc='make deinstall clean'
  37. alias w='w -n'
  38. alias ifstat='ifstat -t'
  39. #-------------------------------------------------------------
  40. # spelling typos - highly personnal and keyboard-dependent :-)
  41. #-------------------------------------------------------------
  42. alias xs='cd'
  43. alias vf='cd'
  44. alias moer='more'
  45. alias moew='more'
  46. alias kk='ll'
  47. # ports: pstree
  48. alias ..="cd .."
  49. alias ...="cd ../.."
  50. alias ....="cd ../../.."
  51. alias .....="cd ../../../.."
  52. #
  53. #  export PS1='[`date +%d""%h""%Y"/"%T `] \u@\h \w \$ '
  54. #  [03Aug2012/15:20:45] test@zabbix /www $
  55. export PS1='[`date +%d""%h""%Y"/"%T `] \u@\h \w \$ '
Advertisement
Add Comment
Please, Sign In to add comment