My History

gohan:~ keng$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head 149 ls 83 cd 33 ssh 32 vim 29 cat 23 ruby 20 curl 17 rm 16 sudo 8 mv

ใช้ ls เยอะมาก แสดงให้เห็นว่าเป็นพวกความจำสั้น จำ directory ไม่ได้ ต้อง ls ดูบ่อยๆ ส่วน ssh ก็เยอะเหมือนกันแฮะ แต่ดูแล้วงานส่วนมากไม่ค่อยได้อยู่บน Terminal ของเครื่อง local สักเท่าไร :P

2 thoughts on “My History

  1. Powerbook:~ poakpong$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head 175 ssh 27 cd 26 ls 21 uptime 19 Killall 9 svn 8 killall 8 defaults 5 touch 4 ping

    ใช้ ssh ในการเข้า server ส่วน killall ใช้เวลาปรับแต่งส่วนต่างๆ ในเครื่อง ส่วนคำสั่งอื่นๆ จำไม่ได้ว่าใช้ทำอะไร :p

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>