V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
yxjxx
V2EX  ›  Linux

来晒晒你使用过的 Linux 命令的 top 10 吧!

  •  
  •   yxjxx ·
    yxjxx · 2014-04-18 23:50:14 +08:00 · 20255 次点击
    这是一个创建于 3879 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚刚在 http://talk.linuxtoy.org/using-cli/ 看到了一条命令可以显示你使用过的命令的top10.
    而且网页使用的类似的ppt效果也超级赞呢!


    命令是:
    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 -n10
    176 条回复    2018-07-30 17:29:55 +08:00
    1  2  
    zuroyu
        1
    zuroyu  
       2014-04-19 00:13:20 +08:00
    1 1472 56.0335% git
    2 202 7.68938% ls
    3 189 7.19452% sudo
    4 161 6.12866% cd
    5 70 2.66464% ssh
    6 53 2.01751% ll
    7 48 1.82718% python
    8 42 1.59878% tail
    9 41 1.56072% vi
    10 32 1.21812% cat
    pubby
        2
    pubby  
       2014-04-19 00:24:20 +08:00
    1 106 21.1577% ls
    2 91 18.1637% global
    3 53 10.5788% screen
    4 44 8.78244% php
    5 41 8.18363% cd
    6 20 3.99202% svn
    7 18 3.59281% tail
    8 18 3.59281% curl
    9 17 3.39321% rm
    10 16 3.19361% man

    第二条不准, global是挂在emacs保存文件hook上的
    echo1937
        3
    echo1937  
       2014-04-19 00:26:13 +08:00
    1 83 8.12929% man
    2 70 6.85602% ll
    3 69 6.75808% ls
    4 63 6.17042% vim
    5 61 5.97453% cat
    6 48 4.70127% ifconfig
    7 47 4.60333% netstat
    8 37 3.6239% cd
    9 36 3.52595% echo
    10 34 3.33007% let

    我好低端
    zhsso
        4
    zhsso  
       2014-04-19 00:37:08 +08:00
    1 1551 27.3545% ls
    2 1016 17.9189% cd
    3 521 9.18871% git
    4 466 8.21869% vim
    5 257 4.53263% ssh
    6 223 3.93298% rm
    7 189 3.33333% go
    8 166 2.92769% ping
    9 112 1.97531% cat
    10 86 1.51675% sudo
    hzlzh
        5
    hzlzh  
       2014-04-19 00:43:19 +08:00
    1 1779 23.6349% grunt
    2 1140 15.1455% cd
    3 767 10.19% ls
    4 367 4.87578% npm
    5 340 4.51707% git
    6 315 4.18493% open
    7 280 3.71994% ssh
    8 277 3.68009% brew
    9 275 3.65351% wget
    10 230 3.05567% ping
    lu18887
        6
    lu18887  
       2014-04-19 00:50:33 +08:00
    1 396 39.5604% ls
    2 128 12.7872% cd
    3 59 5.89411% python
    4 50 4.995% sudo
    5 48 4.7952% vi
    6 37 3.6963% rails
    7 28 2.7972% git
    8 25 2.4975% tmux
    9 16 1.5984% pwd
    10 15 1.4985% l


    文件夹浏览永远是命令行的痛……
    ayang23
        7
    ayang23  
       2014-04-19 00:55:41 +08:00
    1 162 16.1838% sudo
    2 152 15.1848% python
    3 140 13.986% cd
    4 111 11.0889% ls
    5 62 6.19381% ssh
    6 41 4.0959% make
    7 22 2.1978% git
    8 20 1.998% mysql
    9 18 1.7982% htop
    10 17 1.6983% cat
    总之就是sudo python啦
    Suanlatang
        8
    Suanlatang  
       2014-04-19 00:57:16 +08:00
    1 170 33.9321% ssh
    2 144 28.7425% ping
    3 72 14.3713% sudo
    4 17 3.39321% cd
    5 16 3.19361% cf
    6 14 2.79441% python
    7 14 2.79441% ls
    8 10 1.99601% git
    9 8 1.59681% rvm
    10 6 1.1976% pod
    kodango
        9
    kodango  
       2014-04-19 01:01:25 +08:00
    1 125 24.9501% vim
    2 64 12.7745% ls
    3 60 11.976% git
    4 38 7.58483% python
    5 28 5.58882% cd
    6 27 5.38922% sh
    7 14 2.79441% cp
    8 11 2.19561% diff
    9 11 2.19561% cat
    10 9 1.79641% ll
    cst4you
        10
    cst4you  
       2014-04-19 02:26:34 +08:00
    1 99 19.7605% apt-get
    2 87 17.3653% service
    3 43 8.58283% cd
    4 38 7.58483% vim
    5 33 6.58683% git
    6 30 5.98802% ls
    7 24 4.79042% top
    8 21 4.19162% cat
    9 18 3.59281% ps
    10 17 3.39321% tail

    服务器上的...
    fatpa
        11
    fatpa  
       2014-04-19 02:35:18 +08:00
    1 2331 23.3123% sr
    2 1781 17.8118% ssh
    3 1201 12.0112% git
    4 811 8.11081% cd
    5 508 5.08051% ping
    6 456 4.56046% ls
    7 297 2.9703% vi
    8 259 2.59026% sudo
    9 198 1.9802% curl
    10 194 1.94019% cat

    ……果然我每天都在登录服务器
    Livid
        12
    Livid  
    MOD
       2014-04-19 02:46:18 +08:00
    1 107 21.3147% exit
    2 88 17.5299% ansible
    3 50 9.96016% cd
    4 45 8.96414% ssh
    5 23 4.58167% git
    6 21 4.18327% ls
    7 20 3.98406% sudo
    8 17 3.38645% curl
    9 16 3.18725% dscacheutil
    10 14 2.78884% ping
    inufo
        13
    inufo  
       2014-04-19 02:51:29 +08:00
    1 66 13.2% ssh
    2 54 10.8% cd
    3 35 7% git
    4 33 6.6% php
    5 33 6.6% ls
    6 24 4.8% brew
    7 16 3.2% ping
    8 16 3.2% forever
    9 16 3.2% aapt
    10 13 2.6% open
    sinxccc
        14
    sinxccc  
       2014-04-19 02:54:08 +08:00
    1 200 19.98% ls
    2 167 16.6833% grep
    3 167 16.6833% cd
    4 56 5.59441% make
    5 54 5.39461% ssh
    6 34 3.3966% el
    7 29 2.8971% tt
    8 24 2.3976% svn
    9 24 2.3976% scp
    10 16 1.5984% ssd

    el 是 Emacs 的马甲
    tt 是 tmux attach -t 的马甲
    ssd 是 svn diff 的马甲…
    Croath
        15
    Croath  
       2014-04-19 03:02:27 +08:00
    1 269 12.3394% ls
    2 170 7.79817% cd
    3 144 6.6055% clear
    4 130 5.9633% git
    5 112 5.13761% vim
    6 84 3.85321% rails
    7 79 3.62385% ping
    8 77 3.53211% brew
    9 61 2.79817% sudo
    10 52 2.38532% gem

    哈哈哈只有我clear使用率那么高么。。。
    话说有ping有点儿情理之中意料之外

    这些命令把自己的工种都暴露了。。。
    ericls
        16
    ericls  
       2014-04-19 03:06:56 +08:00
    1 145 15.8991% ls
    2 134 14.693% python
    3 110 12.0614% cd
    4 83 9.10088% git
    5 61 6.6886% vim
    6 49 5.37281% svn
    7 47 5.15351% sudo
    8 30 3.28947% source
    9 28 3.07018% rm
    10 27 2.96053% pip
    sinxccc
        17
    sinxccc  
       2014-04-19 03:15:58 +08:00
    @Croath 来根据结果猜职业吧:)
    Lucups
        18
    Lucups  
       2014-04-19 03:29:03 +08:00
    1 52 27.5132% su
    2 17 8.99471% apt-cyg
    3 15 7.93651% passwd
    4 15 7.93651% ls
    5 14 7.40741% cd
    6 11 5.82011% vim
    7 7 3.7037% python
    8 7 3.7037% git
    9 5 2.6455% ll
    10 5 2.6455% id
    (PS: 上个月新买的笔记本, Win8.1+Cygwin,在cygwin下跑的命令)
    xhacker
        19
    xhacker  
       2014-04-19 04:07:00 +08:00
    1 974 17.6737% git
    2 611 11.0869% ssh
    3 489 8.87316% j
    4 297 5.38922% python
    5 280 5.08075% cd
    6 259 4.69969% ls
    7 202 3.6654% sh
    8 140 2.54037% sudo
    9 133 2.41336% brew
    10 124 2.25005% pod
    dorentus
        20
    dorentus  
       2014-04-19 04:29:36 +08:00
    OS X
    ====
    | 1 105 20.9581% git
    | 2 83 16.5669% cd
    | 3 43 8.58283% vi
    | 4 30 5.98802% cat
    | 5 24 4.79042% brew
    | 6 20 3.99202% npm
    | 7 18 3.59281% rm
    | 8 16 3.19361% make
    | 9 16 3.19361% lolcat
    | 10 15 2.99401% printf

    Linux
    ====
    | 1 100 19.9601% sudo
    | 2 98 19.5609% ls
    | 3 57 11.3772% cd
    | 4 45 8.98204% ll
    | 5 33 6.58683% git
    | 6 23 4.59082% fortune-zh
    | 7 14 2.79441% make
    | 8 11 2.19561% cat
    | 9 9 1.79641% vi
    | 10 7 1.39721% ag
    dorentus
        21
    dorentus  
       2014-04-19 04:40:21 +08:00 via iPhone
    我的里面永远不会出现 exit…都是直接按的 ctrl-d
    基本不会有 ruby,脚步都是写好了 sheebang 可执行的,irb 倒是应该会有一些吧
    aggron
        22
    aggron  
       2014-04-19 05:46:29 +08:00
    1 185 36.2745% vim
    2 100 19.6078% ls
    3 23 4.5098% ifconfig
    4 18 3.52941% psql
    5 16 3.13725% tc
    6 14 2.7451% reboot
    7 10 1.96078% sudo
    8 7 1.37255% freeradius
    9 7 1.37255% chmod
    10 7 1.37255% cd
    尽然有reboot....
    ChiangDi
        23
    ChiangDi  
       2014-04-19 07:29:19 +08:00 via Android
    @Croath 为什么要用clear,直接ctrl-L就好了...
    ldehai
        24
    ldehai  
       2014-04-19 07:31:07 +08:00
    1 164 32.7345% ls
    2 133 26.5469% cd
    3 33 6.58683% svn
    4 20 3.99202% pwd
    5 19 3.79242% ssh
    6 19 3.79242% mvn
    7 12 2.39521% vi
    8 9 1.79641% scp
    9 6 1.1976% find
    10 5 0.998004% rm

    cd基本上在前三名呀
    anheiyouxia
        25
    anheiyouxia  
       2014-04-19 07:31:31 +08:00 via Android
    1 272 27.1728% ls
    2 160 15.984% cd
    3 56 5.59441% wget
    4 48 4.7952% rm
    5 46 4.5954% yum
    6 42 4.1958% mv
    7 36 3.5964% screen
    8 30 2.997% pm2
    9 27 2.6973% vim
    10 21 2.0979% ll


    哈哈,我用vps当中转下载器了(╯3╰)
    laputaprince
        26
    laputaprince  
       2014-04-19 08:08:28 +08:00
    1 77 15.3693% git
    2 69 13.7725% ll
    3 42 8.38323% cd
    4 39 7.78443% vim
    5 34 6.78643% curl
    6 28 5.58882% gs
    7 18 3.59281% pwd
    8 17 3.39321% yaourt
    9 16 3.19361% dualscreen
    10 14 2.79441% find
    GTim
        27
    GTim  
       2014-04-19 08:25:10 +08:00
    1 89 19.6468% cd
    2 53 11.6998% brew
    3 49 10.8168% git
    4 47 10.3753% ls
    5 28 6.18102% go
    6 20 4.41501% ssh
    7 17 3.75276% ping
    8 11 2.42826% make
    9 10 2.20751% php
    10 10 2.20751% lsof
    liunan1321
        28
    liunan1321  
       2014-04-19 08:26:17 +08:00
    1 1920 19.2019% ls
    2 1864 18.6419% cd
    3 657 6.57066% vim
    4 544 5.44054% vagrant
    5 526 5.26053% go
    6 403 4.0304% sudo
    7 266 2.66027% ping
    8 248 2.48025% c
    9 225 2.25023% brew
    10 216 2.16022% bee
    mahone3297
        29
    mahone3297  
       2014-04-19 08:27:36 +08:00
    不得不说,这条统计命令写的很赞。。。
    vangie
        30
    vangie  
       2014-04-19 08:30:53 +08:00
    1 454 12.7492% ls
    2 403 11.317% cd
    3 398 11.1766% git
    4 196 5.50407% ssh
    5 188 5.27942% brew
    6 168 4.71778% vim
    7 124 3.48217% rake
    8 90 2.52738% rvm
    9 78 2.1904% rm
    10 71 1.99382% rails
    7anshuai
        31
    7anshuai  
       2014-04-19 08:35:02 +08:00
    1 136 21.6561% ls
    2 111 17.6752% cd
    3 68 10.828% sudo
    4 44 7.00637% vim
    5 29 4.61783% git
    6 21 3.34395% which
    7 18 2.86624% npm
    8 16 2.54777% mv
    9 16 2.54777% g++
    10 10 1.59236% rm
    sanddudu
        32
    sanddudu  
       2014-04-19 08:45:49 +08:00
    1 378 37.7622% cd
    2 109 10.8891% vi
    3 88 8.79121% ls
    4 41 4.0959% rm
    5 33 3.2967% forever
    6 23 2.2977% wget
    7 19 1.8981% mv
    8 19 1.8981% apt-get
    9 17 1.6983% make
    10 15 1.4985% tar
    wuxqing
        33
    wuxqing  
       2014-04-19 08:48:15 +08:00
    1 299 29.8701% ll
    2 177 17.6823% df
    3 169 16.8831% cd
    4 88 8.79121% du
    5 38 3.7962% screen
    6 31 3.0969% rm
    7 27 2.6973% vim
    8 18 1.7982% sh
    9 18 1.7982% curl
    10 16 1.5984% top
    sohoer
        34
    sohoer  
       2014-04-19 09:04:11 +08:00
    1 413 41.2587% sudo
    2 221 22.0779% cp
    3 139 13.8861% ls
    4 107 10.6893% cd
    5 18 1.7982% crontab
    6 13 1.2987% vi
    7 8 0.799201% top
    8 7 0.699301% su
    9 7 0.699301% source
    10 7 0.699301% mysql
    saeed
        35
    saeed  
       2014-04-19 09:20:57 +08:00
    1 1835 18.3518% git
    2 1795 17.9518% vim
    3 1550 15.5016% cd
    4 1485 14.8515% sudo
    5 558 5.58056% ll
    6 394 3.94039% grep
    7 319 3.19032% rm
    8 151 1.51015% mv
    9 89 0.890089% php
    10 85 0.850085% cp
    kehr
        36
    kehr  
       2014-04-19 09:22:34 +08:00
    1 233 12.5067% ls
    2 194 10.4133% cd
    3 189 10.1449% sudo
    4 106 5.68975% vim
    5 86 4.61621% svn
    6 84 4.50886% git
    7 79 4.24047% exit
    8 67 3.59635% trans
    9 51 2.73752% clear
    10 50 2.68384% ll

    svn 居然比 git 还高,这不科学~。trans 是我在命令行下的有道翻译工具,名字自己起的,用起来很赞!
    senghoo
        37
    senghoo  
       2014-04-19 09:24:59 +08:00
    1 745 22.8178% ls
    2 550 16.8453% cd
    3 334 10.2297% git
    4 170 5.20674% ssh
    5 165 5.0536% cat
    6 78 2.38897% vim
    7 76 2.32772% cp
    8 71 2.17458% grep
    9 68 2.0827% python
    10 67 2.05207% brew
    liushuaikobe
        38
    liushuaikobe  
       2014-04-19 09:32:36 +08:00
    1 1810 18.1018% cd
    2 1358 13.5814% python
    3 1351 13.5114% git
    4 714 7.14071% ll
    5 490 4.90049% vim
    6 449 4.49045% ssh
    7 390 3.90039% ls
    8 291 2.91029% sudo
    9 247 2.47025% ping
    10 228 2.28023% rm
    reverland
        39
    reverland  
       2014-04-19 09:35:36 +08:00
    1 1638 16.3816% sudo
    2 706 7.06071% eix
    3 548 5.48055% python
    4 461 4.61046% cat
    5 428 4.28043% gvim
    6 386 3.86039% cd
    7 240 2.40024% vim
    8 231 2.31023% man
    9 202 2.0202% rm
    10 190 1.90019% ls

    怎么可能,明明ipython用的更多= =不过一般都sudo ipython……
    ChiangDi
        40
    ChiangDi  
       2014-04-19 09:37:33 +08:00
    1 2335 23.9512% ls
    2 1378 14.1348% cd
    3 1283 13.1603% vi
    4 647 6.63658% git
    5 424 4.34916% ..
    6 293 3.00544% nohup
    7 289 2.96441% rm
    8 275 2.8208% sudo
    9 229 2.34896% clang
    10 151 1.54888% tmux
    lijinma
        41
    lijinma  
       2014-04-19 09:54:03 +08:00
    1 219 15.6877% ll
    2 130 9.31232% cd
    3 122 8.73926% mocha
    4 100 7.16332% git
    5 68 4.87106% subl
    6 63 4.51289% say
    7 46 3.29513% vi
    8 45 3.2235% pwd
    9 40 2.86533% j
    10 38 2.72206% open
    lm902
        42
    lm902  
       2014-04-19 09:55:12 +08:00
    1 98 27.1468% sudo

    2 33 9.14127% cd

    3 30 8.31025% ls

    4 19 5.26316% vim

    5 19 5.26316% tail

    6 19 5.26316% rm

    7 14 3.87812% python

    8 8 2.21607% top

    9 8 2.21607% ps

    10 8 2.21607% nohup
    lm902
        43
    lm902  
       2014-04-19 09:56:39 +08:00
    主要是我大部分都写成脚本或者sudo su执行了。。。
    chenwl
        44
    chenwl  
       2014-04-19 10:09:26 +08:00
    1 242 24.6436% ls
    2 151 15.3768% cd
    3 95 9.67413% vim
    4 51 5.19348% exit
    5 47 4.78615% git
    6 27 2.74949% cat
    7 21 2.13849% rm
    8 17 1.73116% mv
    9 16 1.62933% service
    10 16 1.62933% screen
    assad
        45
    assad  
       2014-04-19 10:11:24 +08:00
    1 257 25.6743% cd
    2 228 22.7772% ls
    3 38 3.7962% tail
    4 25 2.4975% go
    5 22 2.1978% yum
    6 21 2.0979% python
    7 20 1.998% git
    8 19 1.8981% ps
    9 18 1.7982% top
    10 18 1.7982% mv
    freefcw
        46
    freefcw  
       2014-04-19 10:11:42 +08:00
    mac:

    1 740 16.4189% ls
    2 593 13.1573% cd
    3 440 9.76259% git
    4 220 4.8813% yd
    5 137 3.03972% j
    6 112 2.48502% wget
    7 112 2.48502% vim
    8 109 2.41846% adb
    9 103 2.28533% mv
    10 102 2.26315% exit
    freefcw
        47
    freefcw  
       2014-04-19 10:12:49 +08:00
    @kehr 太长了。。我直接yd了
    redchamber
        48
    redchamber  
       2014-04-19 10:17:24 +08:00
    我的:

    1 144 28.7425% git
    2 94 18.7625% ls
    3 81 16.1677% cd
    4 31 6.18762% npm
    5 16 3.19361% supervisor
    6 15 2.99401% ps
    7 14 2.79441% sudo
    8 12 2.39521% python
    9 12 2.39521% cat
    10 10 1.99601% pip


    git用的最多了! 然后就是 python和node相关的一些.
    wangofjian
        49
    wangofjian  
       2014-04-19 10:19:17 +08:00
    1 215 21.4143% sh
    2 204 20.3187% cat
    3 177 17.6295% vim
    4 87 8.66534% sed
    5 83 8.26693% awk
    6 65 6.4741% ll
    7 29 2.88845% cd
    8 22 2.19124% grep
    9 20 1.99203% comm
    10 15 1.49402% wc
    zxc111
        50
    zxc111  
       2014-04-19 10:20:26 +08:00
    1 186 12% sudo
    2 183 11.8065% vi
    3 141 9.09677% git
    4 121 7.80645% ls
    5 116 7.48387% byobu
    6 114 7.35484% python
    7 110 7.09677% rvm
    8 81 5.22581% exit
    9 61 3.93548% fg
    10 54 3.48387% ps

    vps上的。。。
    smilngwang
        51
    smilngwang  
       2014-04-19 10:24:43 +08:00
    1 296 29.5704% ls
    2 153 15.2847% vim
    3 124 12.3876% cd
    4 112 11.1888% clear
    5 71 7.09291% grep
    6 55 5.49451% python
    7 45 4.4955% git
    8 18 1.7982% pwd
    9 17 1.6983% mv
    10 12 1.1988% ln
    smilngwang
        52
    smilngwang  
       2014-04-19 10:26:54 +08:00
    @Croath 输命令前不clear感觉不爽。。。
    lifanxi
        53
    lifanxi  
       2014-04-19 10:32:32 +08:00
    date第二多……因为我在秒杀前会很强迫的反复看时间,另外,工作中还经常需要用date -d @ 把时间戳转换为可读的时间。

    1 63 24.6094% ssh
    2 26 10.1562% date
    3 25 9.76562% git
    4 21 8.20312% make
    5 14 5.46875% sudo
    6 10 3.90625% ls
    7 10 3.90625% g++
    8 8 3.125% ping
    9 7 2.73438% rm
    10 7 2.73438% cd
    panlilu
        54
    panlilu  
       2014-04-19 10:39:57 +08:00
    那个啥,git我应该用的最多,但是习惯用客户端了- -。

    1 1020 19.5365% ls
    2 935 17.9084% cd
    3 688 13.1776% ssh
    4 318 6.09079% rails
    5 236 4.52021% ping
    6 169 3.23693% cap
    7 165 3.16031% hexo
    8 121 2.31756% ll
    9 102 1.95365% vi
    10 94 1.80042% sudo
    iptux
        55
    iptux  
       2014-04-19 10:46:18 +08:00
    1 266 26.5734% git
    2 112 11.1888% cd
    3 69 6.89311% sudo
    4 66 6.59341% adb
    5 51 5.09491% ll
    6 41 4.0959% make
    7 33 3.2967% exit
    8 29 2.8971% rm
    9 28 2.7972% python
    10 28 2.7972% find
    cai314494687
        56
    cai314494687  
       2014-04-19 10:48:55 +08:00
    1 981 32.3123% git
    2 384 12.6482% cd
    3 339 11.166% sudo
    4 172 5.66535% ls
    5 123 4.05138% brew
    6 85 2.79974% chmod
    7 81 2.66798% python
    8 80 2.63505% vim
    9 56 1.84453% rvm
    10 47 1.54809% php
    amyangfei
        57
    amyangfei  
       2014-04-19 10:52:37 +08:00
    mac上
    1 1413 14.1314% ls
    2 1152 11.5212% vim
    3 535 5.35054% exit
    4 465 4.65047% cd
    5 440 4.40044% make
    6 338 3.38034% j
    7 322 3.22032% grep
    8 321 3.21032% ping
    9 304 3.0403% gcc
    10 279 2.79028% ssh
    一台测试的Linux
    1 558 18.6622% ls
    2 377 12.6087% make
    3 366 12.2408% vim
    4 144 4.81605% echo
    5 132 4.41472% tmux
    6 121 4.04682% cd
    7 102 3.41137% exit
    8 99 3.31104% gcc
    9 49 1.6388% sudo
    10 41 1.37124% ..
    lvwzhen
        58
    lvwzhen  
       2014-04-19 10:55:35 +08:00
    1 262 19.1801% git
    2 246 18.0088% ls
    3 89 6.51537% gst
    4 43 3.14788% vi
    5 38 2.78184% npm
    6 35 2.56223% ssh
    7 35 2.56223% brew
    8 34 2.48902% ping
    9 31 2.2694% douban.fm
    10 21 1.53734% fanyi
    wuming
        59
    wuming  
       2014-04-19 11:03:06 +08:00
    1 52 22.0339% ls
    2 44 18.6441% sudo
    3 26 11.0169% cd
    4 15 6.35593% yaourt
    5 12 5.08475% startx
    6 9 3.81356% git
    7 7 2.9661% keepassx
    8 6 2.54237% rm
    9 5 2.11864% poweroff
    10 4 1.69492% vim
    jankerli
        60
    jankerli  
       2014-04-19 11:03:42 +08:00
    1 669 19.6765% cd
    2 654 19.2353% svn
    3 501 14.7353% ls
    4 279 8.20588% git
    5 171 5.02941% grunt
    6 110 3.23529% sudo
    7 84 2.47059% vi
    8 78 2.29412% ssh
    9 76 2.23529% pwd
    10 61 1.79412% ifconfig
    imlonghao
        61
    imlonghao  
       2014-04-19 11:08:41 +08:00 via iPad
    Just 4 fun.
    1 2311 100% reboot
    ThomasChan
        62
    ThomasChan  
       2014-04-19 11:09:34 +08:00
    1 930 62.9655% scp
    2 129 8.73392% svn
    3 69 4.67163% cd
    4 57 3.85917% ls
    5 38 2.57278% brew
    6 21 1.4218% sudo
    7 17 1.15098% ssh
    8 17 1.15098% python
    9 13 0.880162% rm
    10 12 0.812458% nvm
    hutushen222
        63
    hutushen222  
       2014-04-19 11:15:03 +08:00
    1 3760 37.6038% git
    2 1346 13.4613% cd
    3 1253 12.5313% ls
    4 355 3.55036% php
    5 235 2.35024% less
    6 219 2.19022% vim
    7 180 1.80018% ssh
    8 152 1.52015% vagrant
    9 134 1.34013% man
    10 113 1.13011% stree
    hanks315
        64
    hanks315  
       2014-04-19 11:25:50 +08:00
    1 5267 52.6753% git
    2 524 5.24052% cd
    3 389 3.89039% vim
    4 215 2.15022% rm
    5 196 1.9602% sudo
    6 192 1.92019% clang++
    7 176 1.76018% echo
    8 143 1.43014% kill
    9 142 1.42014% cat
    10 137 1.37014% python
    xuyuanp
        65
    xuyuanp  
       2014-04-19 11:26:38 +08:00
    1 1762 17.6218% cd
    2 1755 17.5518% vim
    3 1317 13.1713% git
    4 1052 10.5211% ls
    5 434 4.34043% rm
    6 355 3.55036% c
    7 276 2.76028% brew
    8 186 1.86019% j
    9 130 1.30013% mv
    10 121 1.21012% mvim
    目测此楼已被vim党占领
    ichou
        66
    ichou  
       2014-04-19 11:27:22 +08:00
    1 247 49.4% ruby
    2 55 11% ssh
    3 30 6% gem
    4 23 4.6% ls
    5 20 4% brew
    6 19 3.8% cd
    7 14 2.8% soundcloud2000
    8 13 2.6% git
    9 7 1.4% netstat
    10 7 1.4% audite

    这只是最近一段时间的吧
    Hashell
        67
    Hashell  
       2014-04-19 11:56:57 +08:00
    1 230 22.977% fg
    2 156 15.5844% pm2
    3 143 14.2857% jobs
    4 95 9.49051% node
    5 92 9.19081% vim
    6 38 3.7962% screen
    7 34 3.3966% npm
    8 28 2.7972% ls
    9 25 2.4975% cnpm
    10 19 1.8981% fuser
    riaqn
        68
    riaqn  
       2014-04-19 11:57:22 +08:00
    1 1155 19.7133% sudo
    2 400 6.8271% python
    3 368 6.28094% cd
    4 351 5.99078% ls
    5 324 5.52995% eix
    6 217 3.7037% git
    7 182 3.10633% youdao
    8 129 2.20174% nano
    9 125 2.13347% rm
    10 116 1.97986% raspi

    youdao是自己写的查单词脚本 raspi是alias ssh到我的树莓派。
    qonco
        69
    qonco  
       2014-04-19 12:00:35 +08:00
    1 1399 29.4899% git
    2 753 15.8727% ll
    3 588 12.3946% cd
    4 237 4.99578% ssh
    5 161 3.39376% mvn
    6 158 3.33052% python3
    7 109 2.29764% clear
    8 101 2.12901% scp
    9 94 1.98145% sudo
    10 92 1.93929% brew
    liprais
        70
    liprais  
       2014-04-19 12:17:01 +08:00
    1 146 29.1417% bteq
    2 104 20.7585% ls
    3 65 12.9741% cd
    4 36 7.18563% ruby
    5 27 5.38922% ssh
    6 19 3.79242% git
    7 12 2.39521% rvm
    8 8 1.59681% brew
    9 7 1.39721% scala
    10 7 1.39721% pwd
    rannnn
        71
    rannnn  
       2014-04-19 12:18:19 +08:00
    1 322 15.6083% git
    2 232 11.2458% ls
    3 189 9.16142% cd
    4 128 6.20456% clear
    5 114 5.52593% npm
    6 106 5.13815% node
    7 102 4.94426% g
    8 93 4.508% sudo
    9 54 2.61755% rm
    10 54 2.61755% eyed3
    Pixeller
        72
    Pixeller  
       2014-04-19 12:21:45 +08:00
    1 120 23.9521% cd
    2 66 13.1737% git
    3 61 12.1756% ls
    4 32 6.38723% brew
    5 24 4.79042% rm
    6 23 4.59082% make
    7 23 4.59082% exit
    8 18 3.59281% sudo
    9 15 2.99401% open
    10 15 2.99401% cmake
    - -我也好低端.
    yingluck
        73
    yingluck  
       2014-04-19 12:23:44 +08:00
    1 23 30.2632% vim
    2 18 23.6842% ls
    3 15 19.7368% cd
    4 6 7.89474% ssh
    5 4 5.26316% scp
    6 2 2.63158% tmux
    7 2 2.63158% python
    8 2 2.63158% find
    9 1 1.31579% mv
    10 1 1.31579% history
    yboren
        74
    yboren  
       2014-04-19 12:29:25 +08:00
    1 8 22.8571% ls
    2 5 14.2857% man
    3 3 8.57143% vim
    4 3 8.57143% git
    5 2 5.71429% uptime
    6 2 5.71429% tmux
    7 2 5.71429% systemctl
    8 2 5.71429% cd
    9 1 2.85714% ps
    10 1 2.85714% ip

    哎,ls第一的人都是在干什么啊
    good
        75
    good  
       2014-04-19 12:40:45 +08:00
    1 205 40.9182% python3
    2 68 13.5729% ls
    3 35 6.98603% cd
    4 29 5.78842% sudo
    5 21 4.19162% find
    6 13 2.59481% cat
    7 12 2.39521% python
    8 11 2.19561% zip
    9 8 1.59681% netstat
    10 8 1.59681% kill
    hao0088
        76
    hao0088  
       2014-04-19 12:45:02 +08:00
    1 208 41.517% ping
    2 161 32.1357% ssh
    3 45 8.98204% telnet
    4 22 4.39122% curl
    5 17 3.39321% dig
    6 8 1.59681% uptime
    7 8 1.59681% open
    8 7 1.39721% sudo
    9 5 0.998004% brew
    10 4 0.798403% scp
    misaka
        77
    misaka  
       2014-04-19 12:45:57 +08:00
    1 168 33.5329% py
    2 142 28.3433% l
    3 77 15.3693% cd
    4 18 3.59281% git
    5 14 2.79441% vagrant
    6 14 2.79441% sudo
    7 12 2.39521% cat
    8 8 1.59681% vi
    9 7 1.39721% ssh
    10 7 1.39721% netstat
    wwek
        78
    wwek  
       2014-04-19 12:46:26 +08:00
    1 282 28.2% svn
    2 219 21.9% ls
    3 160 16% cd
    4 110 11% vim
    5 83 8.3% grep
    6 24 2.4% find
    7 12 1.2% rm
    8 11 1.1% pwd
    9 11 1.1% date
    10 7 0.7% mv
    LazyZhu
        79
    LazyZhu  
       2014-04-19 12:50:11 +08:00
    liliang13
        80
    liliang13  
       2014-04-19 12:53:04 +08:00
    1 156 28.8889% ls
    2 99 18.3333% cd
    3 25 4.62963% rm
    4 22 4.07407% wget
    5 21 3.88889% vim
    6 21 3.88889% apt-get
    7 16 2.96296% mv
    8 11 2.03704% chmod
    9 10 1.85185% tar
    10 9 1.66667% npm
    yxjxx
        81
    yxjxx  
    OP
       2014-04-19 12:57:14 +08:00
    @LazyZhu 原来真有人发过类似的帖子啊.话说680天前我还没有加入v2ex呢! 看到那贴也是有250+的回复,大家对类似帖子热情还是蛮高的嘛!
    a591826944
        82
    a591826944  
       2014-04-19 13:01:09 +08:00
    1 598 23.8627% cd
    2 522 20.83% ls
    3 190 7.5818% vim
    4 136 5.42698% hg
    5 103 4.11014% sudo
    6 81 3.23224% php
    7 79 3.15243% ps
    8 78 3.11253% la
    9 57 2.27454% clear
    10 53 2.11492% rm
    toctan
        83
    toctan  
       2014-04-19 13:03:18 +08:00
    oh-my-zsh 内置这条命令,直接 zsh_stats 就 OK 啦。

    $ zsh_stats
    yhf
        84
    yhf  
       2014-04-19 13:13:30 +08:00
    1 166 33.1337% git
    2 100 19.9601% python
    3 69 13.7725% ls
    4 63 12.5749% cd
    5 25 4.99002% sublime
    6 11 2.19561% sudo
    7 7 1.39721% mysql
    8 5 0.998004% rm
    9 5 0.998004% pip
    10 4 0.798403% mongo
    cevincheung
        85
    cevincheung  
       2014-04-19 13:15:07 +08:00
    1 136 27.1457% ls
    2 74 14.7705% cd
    3 70 13.9721% exit
    4 35 6.98603% nano
    5 29 5.78842% rz
    6 20 3.99202% rm
    7 19 3.79242% cat
    8 16 3.19361% wget
    9 15 2.99401% php
    10 9 1.79641% mv
    Lelouchcr
        86
    Lelouchcr  
       2014-04-19 13:21:43 +08:00
    1 248 49.501% du
    2 128 25.5489% ls
    3 27 5.38922% git
    4 24 4.79042% cd
    5 18 3.59281% rm
    6 15 2.99401% ps
    7 13 2.59481% mvn
    8 6 1.1976% ffmpeg
    9 4 0.798403% vim
    10 4 0.798403% scp

    这么多du,我自己都惊讶了。。
    wazedix
        87
    wazedix  
       2014-04-19 13:44:09 +08:00
    1 1950 19.502% vi
    2 1673 16.7317% hg
    3 1410 14.1014% git
    4 1052 10.5211% ls
    5 610 6.10061% cd
    6 391 3.91039% python
    7 322 3.22032% j
    8 257 2.57026% ack
    9 191 1.91019% rm
    10 144 1.44014% svn

    比较奇葩得三个版本控制器都进了前10
    cpp255
        88
    cpp255  
       2014-04-19 14:04:43 +08:00
    1 105 20.9581% ls
    2 89 17.7645% git
    3 78 15.5689% cd
    4 51 10.1796% cc
    5 22 4.39122% node
    6 17 3.39321% gradle
    7 15 2.99401% vi
    8 10 1.99601% sudo
    9 10 1.99601% find
    10 7 1.39721% rm
    新机器
    Jeremial
        89
    Jeremial  
       2014-04-19 14:06:03 +08:00
    1 5247 52.4752% git
    2 714 7.14071% cd
    3 362 3.62036% npm
    4 277 2.77028% st
    5 263 2.63026% sudo
    6 253 2.53025% rm
    7 242 2.42024% j
    8 204 2.0402% node
    9 141 1.41014% make
    10 130 1.30013% l
    kqz901002
        90
    kqz901002  
       2014-04-19 14:06:51 +08:00
    1 978 16.1493% cd
    2 972 16.0502% ls
    3 717 11.8395% ping
    4 452 7.46367% brew
    5 287 4.7391% sudo
    6 198 3.26948% ssh
    7 184 3.03831% vim
    8 177 2.92272% nslookup
    9 135 2.22919% rm
    10 120 1.98151% dig
    HackerOO7
        91
    HackerOO7  
       2014-04-19 14:09:37 +08:00
    1 387 38.6613% git
    2 176 17.5824% cd
    3 133 13.2867% adb
    4 65 6.49351% gitk
    5 46 4.5954% croot
    6 43 4.2957% make
    7 27 2.6973% repo
    8 27 2.6973% grep
    9 24 2.3976% subl
    10 22 2.1978% ls
    javaluo
        92
    javaluo  
       2014-04-19 14:13:24 +08:00
    1 107 18.2906% w
    2 37 6.32479% sh
    3 35 5.98291% cat
    4 23 3.93162% wget
    5 23 3.93162% ping
    6 22 3.76068% lsof
    7 20 3.4188% ssh
    8 19 3.24786% cd
    9 18 3.07692% ls
    10 12 2.05128% service
    sitin
        93
    sitin  
       2014-04-19 14:16:18 +08:00
    1 1718 27.1449% ls
    2 1214 19.1815% cd
    3 655 10.3492% python
    4 416 6.57292% vi
    5 403 6.36751% git
    6 87 1.37462% ssh
    7 82 1.29562% pip
    8 80 1.26402% sudo
    9 79 1.24822% source
    10 75 1.18502% mv

    这个啥,没想到我还比较纠结重命名。。
    flynngao
        94
    flynngao  
       2014-04-19 14:17:41 +08:00
    1143 2.61235% grunt
    2 56 1.02302% python
    3 55 1.00475% sudo
    4 51 0.931677% jekyll
    5 27 0.493241% ping
    6 27 0.493241% mongo
    7 15 0.274023% pwd
    8 6 0.109609% java
    9 1 0.0182682% glup
    10 1 0.0182682%
    mingzhi
        95
    mingzhi  
       2014-04-19 14:45:18 +08:00
    1 567 16.5741% cd
    2 540 15.7849% ls
    3 519 15.171% git
    4 490 14.3233% make
    5 139 4.06314% vim
    6 134 3.91698% la
    7 57 1.66618% cabal
    8 51 1.49079% ping
    9 41 1.19848% open
    10 33 0.96463% ghci
    ericFork
        96
    ericFork  
       2014-04-19 14:48:13 +08:00
    1 781 7.81078% whois
    2 779 7.79078% curl
    3 682 6.82068% ping
    4 639 6.39064% vim
    5 571 5.71057% cd
    6 490 4.90049% git
    7 464 4.64046% gca
    8 377 3.77038% mtr
    9 372 3.72037% s
    10 314 3.14031% clear

    这个 whois 高得有点诡异
    realfun
        97
    realfun  
       2014-04-19 15:06:21 +08:00
    写了个脚本总结了一下目前为止列出来的东东,上top10榜次数最多的是:

    ('ls', 13)
    ('cd', 13)
    ('vim', 11)
    ('rm', 8)
    ('git', 6)
    ('mv', 5)
    ('sudo', 5)
    ('wget', 4)
    ('screen', 4)
    ('python', 4)
    dorentus
        98
    dorentus  
       2014-04-19 15:12:18 +08:00
    我想起来我那个列表看起来不科学的原因了……
    我的 .bashrc 里面有这么一条:

    # http://askubuntu.com/questions/15926/how-to-avoid-duplicate-entries-in-bash-history
    HISTCONTROL=ignoreboth:erasedups

    重复的命令不会记录
    xujingbao
        99
    xujingbao  
       2014-04-19 15:40:32 +08:00
    1 1106 17.4009% ls
    2 832 13.09% cd
    3 539 8.48018% git
    4 525 8.25991% brew
    5 459 7.22152% rake
    6 342 5.38074% ll
    7 251 3.94902% vi
    8 242 3.80743% j
    9 116 1.82505% sudo
    10 110 1.73065% tmux
    skydiver
        100
    skydiver  
       2014-04-19 15:43:38 +08:00
    1 163 17.086% sudo
    2 140 14.6751% pacman
    3 94 9.85325% cd
    4 54 5.66038% git
    5 49 5.13627% cat
    6 48 5.03145% vim
    7 26 2.72537% rm
    8 15 1.57233% echo
    9 14 1.46751% mv
    10 13 1.36268% yaourt

    zsh 里得把 history 改成 history 1 才行
    1  2  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2619 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:07 · PVG 15:07 · LAX 23:07 · JFK 02:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.