Successfully reported this slideshow.
Your SlideShare is downloading. ×

CUI -- How to Analyze History command

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Ex py intro-20100630
Ex py intro-20100630
Loading in …3
×

Check these out next

1 of 13 Ad

More Related Content

Viewers also liked (20)

Similar to CUI -- How to Analyze History command (20)

Advertisement

More from Hiro Yoshioka (20)

Recently uploaded (20)

Advertisement

CUI -- How to Analyze History command

  1. 1. CUI 超入門 2011/9/12   @DevLove #devlove0912 Hiro Yoshioka/YLUG hyoshiok@gmail.com http://d.hatena.ne.jp/hyoshiok http://twitter.com/hyoshiok http://www.facebook/hyoshiok 1
  2. 2. Who am I.  Hiro Yoshioka,  YLUG Yokohama Linux Users Group, member  Kernel Code Reading Party, host  Technical Managing Officer at Rakuten 2
  3. 3. Today 本日 3 http://www.jaxa.jp/press/2008/04/20080411_kaguya_j.html
  4. 4. Today 本日の話 はぬるい 4 http://www.jaxa.jp/press/2008/04/20080411_kaguya_j.html
  5. 5. history を分析する 5
  6. 6. CUI のコマンドは自分の意志をコンピュータに伝 える機械語である。 自分はコンピュータに何を語っているのか。 自分は日々何をしているのかを知ることが自分の 作業を知る第一歩となる。 6
  7. 7. $ history 7
  8. 8. コマンド名を取り出す Ubuntu の場合 $ history| cut ­d' ' ­f 4 8
  9. 9. コマンド利用の頻度を知る $ history|cut ­d' ' ­f 4|sort|uniq  ­c|head       1 ./configure      23 acroread       2 ascii       1 bash       2 cat     122 cd 9
  10. 10. よく使っているコマンド $ history|cut ­d' ' ­f 4|sort|uniq  ­c|sort ­nr|head     317 ls     122 cd      64 time      59 history|cut      48 soffice      47 ping      39 git      28 man      24 mv      23 acroread 10
  11. 11. パイプを使うだろ w $ history|cut ­d' ' ­f 4­|sed ­e  "s/|/n/g"|cut ­d' ' ­f 1|sort|uniq  ­c|sort ­nr|head     319 ls     121 cd      90 head      85 history      84 cut      64 time      64 less      57 sort      47 soffice      47 ping 11
  12. 12. 12
  13. 13.  プログラマにとって の CUI を考えよう  そしてそれを議論し よう 13

×