Skip to content

Instantly share code, notes, and snippets.

View frayos's full-sized avatar

Younes frayos

View GitHub Profile
@neogta
neogta / profile.sh
Created November 22, 2017 08:44
My Profile
export ANSIBLE_CALLBACK_PLUGINS=/usr/local/lib/python2.7/dist-packages/ansible/plugins/callback/:/usr/local/lib/python2.7/dist-packages/ara/plugins/callbacks/
DISPLAYA=`echo $SSH_CLIENT | awk '{ print $1}'`
#export DISPLAY=$DISPLAYA:0
alias topmem="smem -s rss -r -t -p | head -10"
alias zombie="while true; do clear;date; ps auxf | awk '{if($8=="Z") print $0;}'; sleep 1; done"
alias waiting="while true; do clear;date; ps auxf | awk \'{if\($8==\"D\"\) print $0;}\'; sleep 1; done"
alias fuck='sudo $(history -p \!\!)'
alias pf='sudo ps -ef | grep -v grep | grep'
alias vik='sudo vi'
alias ll='ls -lha --color'