ubuntulinux吧 关注:3,136贴子:49,911
  • 11回复贴,共1

命令使用率

只看楼主收藏回复

# history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[ a ]" " CMD[ a ]/count*100 "% " a }' | grep -v "./" | column -c3 -s " " -t |sort -nr | nl | head -n20
1 75 15% nano
2 74 14.8% yaourt
3 67 13.4% pacman
4 22 4.4% mount
5 16 3.2% cd
6 15 3% chroot
7 12 2.4% ls
8 12 2.4% iptraf-ng
9 11 2.2% ps
10 10 2% dhcpcd
11 9 1.8% kill
12 9 1.8% dbus-launch
13 8 1.6% rc.d
14 8 1.6% make
15 7 1.4% echo
16 5 1% reboot
17 5 1% ping
18 5 1% mv
19 5 1% modprobe
20 5 1% mntdp



1楼2012-06-30 13:06回复


    IP属地:河南2楼2012-06-30 13:09
    回复
      2026-04-24 14:45:33
      广告
      不感兴趣
      开通SVIP免广告


      3楼2012-06-30 13:12
      收起回复
        nano
        vi


        IP属地:安徽来自Android客户端4楼2012-06-30 13:14
        回复


          IP属地:河南5楼2012-06-30 13:24
          回复
            基本中。


            IP属地:广东来自Android客户端6楼2012-07-02 19:54
            回复

              up=pacman -Syu
              uo是打错了


              IP属地:广东8楼2012-07-02 21:42
              收起回复
                1 186 37.2% sudo
                2 46 9.2% cd
                3 40 8% ls
                4 28 5.6% nano
                5 23 4.6% startx
                6 17 3.4% unrar
                7 17 3.4% osdlyrics
                8 9 1.8% ifconfig
                9 8 1.6% virtualbox
                10 6 1.2% alltray
                11 6 1.2% alias
                12 5 1% tar
                13 5 1% mmaker
                14 5 1% cat
                15 4 0.8% vim
                16 4 0.8% transmission-gtk
                17 4 0.8% pacman
                18 4 0.8% firefox
                19 3 0.6% yaourt
                20 3 0.6% wicd-client
                


                9楼2012-07-02 21:50
                回复
                  2026-04-24 14:39:33
                  广告
                  不感兴趣
                  开通SVIP免广告

                  居然是 for 用的最多诶~我自己怎么不觉得呢~
                  还有“{”……


                  10楼2012-07-04 00:47
                  回复



                    IP属地:上海11楼2012-07-04 07:34
                    回复