V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
andyJado
V2EX  ›  程序员

你最常用的 CLI(命令行工具)是什么?

  •  
  •   andyJado ·
    AndyJado · 2022-07-18 15:04:35 +08:00 · 12160 次点击
    这是一个创建于 893 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我的前三大概是 brew, git, curl

    但我更好奇有没有日常用的的 CLI 呢? 我看有 cli 发推特的..

    245 条回复    2023-04-30 16:25:34 +08:00
    1  2  3  
    tqbfjotld
        101
    tqbfjotld  
       2022-07-19 09:41:09 +08:00
    1 8 50% ssh
    2 3 18.75% ls
    3 1 6.25% z
    4 1 6.25% vim
    5 1 6.25% sudo
    6 1 6.25% ping
    7 1 6.25% cd
    hahadaxigua834
        102
    hahadaxigua834  
       2022-07-19 09:45:25 +08:00
    1 1507 35.9323% git
    2 637 15.1884% ls
    3 427 10.1812% cd
    4 249 5.93705% sudo
    5 203 4.84025% go
    6 128 3.05198% make
    7 117 2.7897% vim
    8 97 2.31283% docker
    9 49 1.16834% pwd
    10 44 1.04912% brew
    shenjinpeng
        103
    shenjinpeng  
       2022-07-19 09:45:32 +08:00
    1 253 10.3561% ls
    2 226 9.25092% docker
    3 185 7.57266% php
    4 155 6.34466% brew
    5 149 6.09906% cd
    6 72 2.9472% sss
    7 59 2.41506% go
    8 58 2.37413% npm
    9 58 2.37413% composer
    10 52 2.12853% nginx
    Aresrun
        104
    Aresrun  
       2022-07-19 09:45:44 +08:00
    1 422 23.8688% ls
    2 367 20.7579% cd
    3 247 13.9706% clear
    4 150 8.48416% go
    5 93 5.26018% git
    6 79 4.46833% ll
    7 69 3.90271% mkdir
    8 35 1.97964% brew
    9 26 1.47059% rm
    10 25 1.41403% vim
    realpg
        105
    realpg  
       2022-07-19 09:47:38 +08:00
    ll
    ls
    sudo
    cd
    git
    guojianwei
        106
    guojianwei  
       2022-07-19 09:50:46 +08:00
    1 532 25.3333% mvn
    2 252 12% scp
    3 188 8.95238% cd
    4 141 6.71429% cp
    5 111 5.28571% ll
    6 107 5.09524% vim
    7 97 4.61905% git
    8 58 2.7619% conda
    9 48 2.28571% echo
    10 39 1.85714% mv
    fo0o7hU2tr6v6TCe
        107
    fo0o7hU2tr6v6TCe  
       2022-07-19 09:54:30 +08:00
    1 1850 32.422% ls
    2 944 16.544% cd
    3 378 6.62461% go
    4 322 5.64318% git
    5 149 2.61129% code
    6 148 2.59376% nvim
    7 145 2.54118% npm
    8 129 2.26078% vim
    9 103 1.80512% rm
    10 71 1.2443% ssh

    我一般 cd 一个目录都会主动的 ls 一下...
    tpxcer
        108
    tpxcer  
       2022-07-19 10:02:16 +08:00
    1 43 14.1914% ll
    2 35 11.5512% brew
    3 31 10.231% ssh
    4 23 7.59076% cd
    5 19 6.27063% sudo
    6 19 6.27063% pnpm
    7 19 6.27063% export
    8 18 5.94059% rm
    9 17 5.61056% ls
    10 13 4.29043% yt-dlp
    raptor
        109
    raptor  
       2022-07-19 10:03:55 +08:00
    1 2895 28.9529% git
    2 999 9.991% http
    3 802 8.0208% curl
    4 669 6.69067% cd
    5 551 5.51055% ssh
    6 313 3.13031% rm
    7 308 3.08031% rsync
    8 292 2.92029% kill
    9 219 2.19022% vim
    10 200 2.0002% scp
    timothyye
        110
    timothyye  
       2022-07-19 10:03:58 +08:00
    1 1995 19.3783% gs
    2 756 7.34337% gc
    3 748 7.26566% skm
    4 654 6.3526% ls
    5 543 5.27441% go
    6 429 4.16707% git
    7 427 4.14764% gps
    8 404 3.92424% gco
    9 382 3.71054% cd
    10 338 3.28315% ga
    ysn2233
        111
    ysn2233  
       2022-07-19 10:07:39 +08:00
    1 2618 25.5116% ls
    2 1875 18.2713% cd
    3 1240 12.0834% git
    4 569 5.54473% vi
    5 304 2.96239% mvn
    6 264 2.5726% ssh
    7 264 2.5726% cargo
    8 237 2.30949% python
    9 237 2.30949% docker
    10 218 2.12434% sudo
    zws74100000
        112
    zws74100000  
       2022-07-19 10:08:45 +08:00
    1 406 40.6% ssh
    2 209 20.9% git
    3 63 6.3% sudo
    4 55 5.5% cd
    5 46 4.6% scp
    6 41 4.1% make
    7 36 3.6% scrcpy
    8 25 2.5% ls
    9 16 1.6% rdesktop
    10 16 1.6% exit
    killva4624
        113
    killva4624  
       2022-07-19 10:09:31 +08:00   ❤️ 1
    1 126 12.3651% kgp
    2 121 11.8744% cd
    3 95 9.32287% ls
    4 81 7.94897% ll
    5 59 5.78999% keti
    6 46 4.51423% git
    7 42 4.12169% stern
    8 36 3.53288% kubectl
    9 29 2.84593% vim
    10 26 2.55152% kubecm


    与 kubectl 为伍,运维🐶没错了
    guaderxxg
        114
    guaderxxg  
       2022-07-19 10:13:56 +08:00
    1 1287 19.3767% ls
    2 850 12.7974% git
    3 632 9.51521% vim
    4 577 8.68714% go
    5 512 7.70852% cd
    6 226 3.40259% gst
    7 146 2.19813% curl
    8 144 2.16802% rm
    9 112 1.68624% exit
    10 111 1.67118% tssh
    crocky
        115
    crocky  
       2022-07-19 10:18:12 +08:00   ❤️ 1
    1 1718 17.1646% ssh
    2 715 7.14357% ll
    3 710 7.09362% yay
    4 670 6.69398% cd
    5 522 5.21531% pm2
    6 484 4.83565% git
    7 416 4.15626% exit
    8 322 3.2171% docker-compose
    9 285 2.84744% sudo
    10 231 2.30792% cat
    11 214 2.13808% vim
    12 209 2.08812% docker
    13 196 1.95824% ping
    14 175 1.74843% curl
    15 153 1.52862% adb
    16 129 1.28884% rm
    17 124 1.23889% php
    18 102 1.01908% workspace
    19 102 1.01908% htop
    20 87 0.869218% ps


    每天两遍 yay, 更新狂魔
    rev1si0n
        116
    rev1si0n  
       2022-07-19 10:19:42 +08:00
    ls cd clear git py(python) wget ps vi rm cat ssh grep code
    Kairyuu
        117
    Kairyuu  
       2022-07-19 10:20:54 +08:00
    1 5652 48.2253% git
    2 1210 10.3242% gco
    3 619 5.28157% tail
    4 551 4.70137% cd
    5 502 4.28328% gst
    6 430 3.66894% vim
    7 335 2.85836% sudo
    8 206 1.75768% grep
    9 173 1.47611% ping
    Achophiark
        118
    Achophiark  
       2022-07-19 10:24:22 +08:00
    1 30 16.3043% apt
    2 23 12.5% ls
    3 22 11.9565% cd
    4 11 5.97826% curl
    5 10 5.43478% docker
    6 8 4.34783% exit
    7 7 3.80435% shutdown
    8 7 3.80435% cp
    9 5 2.71739% nano
    10 5 2.71739% ll
    HiCoder
        119
    HiCoder  
       2022-07-19 10:25:13 +08:00
    1 519 37.0979% brew
    2 94 6.71909% ll
    3 81 5.78985% ping
    4 74 5.28949% pwd
    5 63 4.50322% ls
    6 53 3.78842% curl
    7 29 2.07291% git
    8 28 2.00143% telnet
    9 27 1.92995% fish
    10 26 1.85847% npm
    winzkh
        120
    winzkh  
       2022-07-19 10:26:07 +08:00   ❤️ 1
    电脑:
    1 179 11.4013% sudo
    2 165 10.5096% ls
    3 121 7.70701% cd
    4 111 7.07006% ssh
    5 97 6.17834% brew
    6 72 4.58599% adb
    7 45 2.86624% export
    8 34 2.16561% rm
    9 27 1.71975% vim
    10 26 1.65605% python3
    家里的服务器:
    1 261 21.6958% docker
    2 252 20.9476% sudo
    3 139 11.5544% ls
    4 70 5.81879% cd
    5 34 2.82627% vim
    6 34 2.82627% cat
    7 24 1.99501% exit
    8 24 1.99501% cloudflared
    9 21 1.74564% wget
    10 21 1.74564% mkdir
    内网穿透服务器:
    1 45 31.9149% docker
    2 39 27.6596% sudo
    3 16 11.3475% ls
    4 7 4.96454% acme.sh
    5 5 3.5461% mkdir
    6 5 3.5461% exit
    7 5 3.5461% cd
    8 4 2.83688% vim
    9 3 2.12766% dpkg-reconfigure
    10 2 1.41844% wget
    EvilJ
        121
    EvilJ  
       2022-07-19 10:26:52 +08:00
    1 2769 27.6679% git
    2 1225 12.2402% cd
    3 882 8.81295% gcam
    4 704 7.03437% yarn
    5 377 3.76699% npm
    6 272 2.71783% p
    7 206 2.05835% rm
    8 199 1.98841% pnpm
    9 196 1.95843% mkdir
    10 165 1.64868% vue
    kyuuseiryuu
        122
    kyuuseiryuu  
       2022-07-19 10:27:03 +08:00 via iPhone
    1 2190 34.16% git
    2 873 13.6172% yarn
    3 552 8.6102% ls
    4 491 7.65871% cd
    5 449 7.00359% docker
    6 174 2.71409% npm
    7 124 1.93418% npx
    8 115 1.79379% ssh
    9 95 1.48183% rm
    10 81 1.26345% flutter
    guxingke
        123
    guxingke  
       2022-07-19 10:29:55 +08:00
    λ zsh_stats | awk '{print $2,$4}'
    820 vim
    633 curl
    533 mysql
    513 ack
    496 cd
    479 ssh
    327 j
    321 rm
    307 cat
    304 git
    298 pbpaste
    267 java
    232 ping
    196 brew
    179 gcamf
    159 mv
    151 ll
    148 redis-cli
    139 gcb
    138 cp
    libook
        124
    libook  
       2022-07-19 10:30:04 +08:00   ❤️ 1
    1 370 23.4623% ls
    2 284 18.0089% cd
    3 149 9.44832% yay
    4 73 4.62904% sudo
    5 49 3.10717% ..
    6 42 2.66328% vim
    7 32 2.02917% rm
    8 30 1.90235% gst
    9 26 1.6487% cat
    10 23 1.45847% trash

    果不其然,Arch 系前排肯定有 pacman 或 yay ~
    “..”这种返回上一级目录的方式原生 bash 没有。
    gst 是我自己的 idlebox 工具箱里的指令,等价于 git status 。
    bigbigpark
        125
    bigbigpark  
       2022-07-19 10:30:18 +08:00
    1 190 23.6908% 2022-06-29
    2 175 21.8204% 2022-06-28
    3 101 12.5935% 2022-06-30
    4 91 11.3466% 2022-07-14
    5 75 9.35162% 2022-07-12
    6 48 5.98504% 2022-06-27
    7 30 3.74065% 2022-07-17
    8 28 3.49127% 2022-07-01
    9 26 3.2419% 2022-07-18
    10 10 1.24688% 2022-07-11

    没有人遇到吗,最后一列是日期??
    Jaosn
        126
    Jaosn  
       2022-07-19 10:31:37 +08:00
    1 983 22.5562% fnpm
    2 903 20.7205% git
    3 609 13.9743% fe
    4 300 6.88389% nvim
    5 292 6.70032% cd
    6 241 5.53006% ls
    7 222 5.09408% npm
    8 70 1.60624% brew
    9 51 1.17026% code
    10 40 0.917852% clear
    qiyuey
        127
    qiyuey  
       2022-07-19 10:49:41 +08:00
    1 1242 38.1567% git
    2 334 10.2611% ls
    3 300 9.21659% cd
    4 247 7.58833% fct
    5 163 5.00768% brew
    6 119 3.65591% mvn
    7 119 3.65591% exit
    8 111 3.41014% bubc
    9 103 3.16436% idea
    10 57 1.75115% rm
    docker2018
        128
    docker2018  
       2022-07-19 10:53:56 +08:00
    1 1493 14.9106% cd
    2 1427 14.2515% ls
    3 881 8.79856% git
    4 827 8.25926% ll
    5 458 4.57405% cp
    6 444 4.43424% ping
    7 386 3.85499% cat
    8 321 3.20583% go
    9 297 2.96614% rm
    10 235 2.34695% sudo
    18601294989
        129
    18601294989  
       2022-07-19 10:54:49 +08:00
    1 255 18.6813% cd
    2 146 10.696% go
    3 136 9.96337% ls
    4 119 8.71795% git
    5 77 5.64103% yarn
    6 77 5.64103% goland
    7 60 4.3956% code
    8 37 2.71062% make
    9 31 2.27106% m
    10 29 2.12454% ll
    sampeng
        130
    sampeng  
       2022-07-19 10:55:14 +08:00
    rm
    murenx
        131
    murenx  
       2022-07-19 10:55:16 +08:00
    1 1297 20.6266% docker
    2 615 9.78053% cd
    3 522 8.30153% ll
    4 447 7.10878% ls
    5 199 3.16476% kubectl
    6 187 2.97392% curl
    7 168 2.67176% minikube
    8 163 2.59224% ps
    9 149 2.36959% cat
    10 136 2.16285% clear
    sampeng
        132
    sampeng  
       2022-07-19 10:55:44 +08:00
    1 4477 44.3795% kubectl
    2 459 4.54996% curl
    3 432 4.28232% cd
    4 347 3.43973% ssh
    5 318 3.15226% git
    6 280 2.77557% vi
    7 277 2.74584% dig
    8 246 2.43854% ls
    9 229 2.27002% ping
    10 224 2.22046% cat
    getinlight
        133
    getinlight  
       2022-07-19 10:55:47 +08:00
    1 678 19.9705% flutter
    2 343 10.1031% cd
    3 200 5.89102% git
    4 187 5.5081% pod
    5 179 5.27246% brew
    6 155 4.56554% open
    7 142 4.18262% export
    8 123 3.62297% adb
    9 121 3.56406% ls
    10 114 3.35788% echo
    kennir
        134
    kennir  
       2022-07-19 10:56:38 +08:00
    1 1497 14.9565% brew
    2 983 9.82116% cd
    3 850 8.49236% git
    4 657 6.56409% python
    5 580 5.79478% ls
    6 478 4.7757% go
    7 322 3.2171% rm
    8 300 2.9973% ssh
    9 269 2.68758% j
    10 212 2.11809% curl
    xhinliang
        135
    xhinliang  
       2022-07-19 11:01:04 +08:00
    1 3806 57.2417% git
    2 896 13.4757% curl
    3 439 6.6025% make
    4 198 2.97789% j
    5 198 2.97789% go
    6 132 1.98526% ls
    7 118 1.7747% vim
    8 109 1.63934% cd
    9 82 1.23327% history
    10 68 1.02271% cat
    richarddingcn
        136
    richarddingcn  
       2022-07-19 11:03:02 +08:00
    1 568 26.2841% ll
    2 245 11.3373% cd
    3 196 9.06988% ping
    4 102 4.72004% ssh
    5 96 4.44239% mvn
    6 78 3.60944% brew
    7 67 3.10042% tail
    8 55 2.54512% ls
    9 46 2.12864% rm
    10 46 2.12864% aws
    11 44 2.03609% traceroute
    12 37 1.71217% redis-cli
    13 36 1.6659% exit
    14 35 1.61962% ps
    15 34 1.57335% vi
    16 34 1.57335% git
    17 33 1.52707% nslookup
    18 28 1.2957% cat
    19 26 1.20315% lsof
    20 25 1.15687% echo

    git 全部是用 idea 自带的 不然应该是前 5 吧
    leverestfish
        137
    leverestfish  
       2022-07-19 11:04:13 +08:00
    1 588 12.2858% ssh
    2 481 10.0501% git
    3 260 5.43251% conda
    4 203 4.24154% pip
    5 169 3.53113% cd
    6 146 3.05056% .
    7 134 2.79983% python
    8 127 2.65357% brew
    9 110 2.29837% vim
    10 104 2.173% cat
    haya
        138
    haya  
       2022-07-19 11:05:09 +08:00
    1 427 10.4554% kubectl
    2 380 9.3046% ls
    3 353 8.64349% cd
    4 228 5.58276% docker
    5 198 4.84819% git
    6 192 4.70127% fish
    7 131 3.20764% multipass
    8 115 2.81587% brew
    9 111 2.71792% vim
    10 107 2.61998% exec
    tammy
        139
    tammy  
       2022-07-19 11:05:39 +08:00
    1 129 25.8% ll
    2 112 22.4% cd
    3 38 7.6% ..
    4 33 6.6% cat
    5 31 6.2% dc
    6 23 4.6% vi
    7 21 4.2% utheme
    8 21 4.2% rz
    9 20 4% acme.sh
    10 16 3.2% ls
    Daniel17
        140
    Daniel17  
       2022-07-19 11:06:10 +08:00
    1 1823 18.3271% cd
    2 1509 15.1704% ll
    3 966 9.71147% git
    4 949 9.54056% vim
    5 549 5.51925% ls
    6 524 5.26792% docker
    7 317 3.18689% cargo
    8 239 2.40273% gs
    9 201 2.02071% npm
    10 169 1.699% rm
    eryajf
        141
    eryajf  
       2022-07-19 11:12:02 +08:00
    1 1207 12.4677% ls
    2 1147 11.8479% docker
    3 791 8.17064% cd
    4 648 6.69352% gl
    5 421 4.34872% gp
    6 413 4.26609% gaa
    7 410 4.2351% gcmsg
    8 391 4.03884% git
    9 382 3.94587% go
    10 342 3.53269% docker-compose
    pank
        142
    pank  
       2022-07-19 11:12:33 +08:00
    1 1465 14.631% ls
    2 1395 13.9319% cd
    3 1185 11.8346% git
    4 733 7.32048% vim
    5 498 4.97353% docker
    6 409 4.08469% rm
    7 358 3.57535% curl
    8 257 2.56666% mv
    9 223 2.2271% mvn
    10 187 1.86757% sh
    11 177 1.7677% neofetch
    12 150 1.49805% brew
    13 131 1.3083% docker-compose
    14 102 1.01868% exit
    15 96 0.958754% netstat
    16 91 0.908819% grep
    17 90 0.898832% ping
    18 88 0.878857% mkdir
    19 83 0.828922% lsof
    20 82 0.818935% sudo
    lonenol
        143
    lonenol  
       2022-07-19 11:12:46 +08:00
    哈哈哈哈,你们都不用 on my zsh 里的 git 命令的缩写吗
    1 1051 31.3357% gst
    2 386 11.5086% git
    3 306 9.12343% ggpush
    4 241 7.18545% cd
    5 190 5.66488% gcam
    6 157 4.68098% ls
    7 124 3.69708% mvn
    8 119 3.548% gupv
    9 105 3.13059% gd
    10 103 3.07096% gco
    blackshow
        144
    blackshow  
       2022-07-19 11:15:44 +08:00
    1 27 23.4783% brew
    2 22 19.1304% ls
    3 9 7.82609% export
    4 8 6.95652% hostname
    5 6 5.21739% cd
    6 5 4.34783% pwd
    7 5 4.34783% curl
    8 4 3.47826% which
    9 4 3.47826% git
    10 2 1.73913% vi
    iSecret
        145
    iSecret  
       2022-07-19 11:18:05 +08:00
    1 1384 28.1129% git
    2 589 11.9642% ls
    3 459 9.32358% docker-compose
    4 416 8.45013% z
    5 392 7.96262% cd
    6 255 5.17977% brew
    7 136 2.76254% vim
    8 121 2.45785% curl
    9 108 2.19378% python3
    10 75 1.52346% proxyon
    zyloong
        146
    zyloong  
       2022-07-19 11:18:26 +08:00
    1 1600 15.8872% l
    2 1242 12.3324% cd
    3 1065 10.5749% gst
    4 625 6.20594% gaa
    5 496 4.92503% vim
    6 275 2.73061% gco
    7 263 2.61146% git
    8 244 2.4228% cat
    9 225 2.23414% mvn
    10 223 2.21428% brew
    lyang
        147
    lyang  
       2022-07-19 11:29:51 +08:00
    1 188 9.78657% ls
    2 174 9.05778% cd
    3 121 6.2988% pip
    4 99 5.15357% conda
    5 97 5.04945% vim
    6 91 4.73712% python
    7 87 4.52889% ssh
    8 83 4.32067% docker
    9 66 3.43571% brew
    10 50 2.60281% ping
    HankAviator
        148
    HankAviator  
       2022-07-19 11:32:51 +08:00
    1 197 19.7% git
    2 83 8.3% #
    3 47 4.7% -d
    4 45 4.5% ll
    5 43 4.3% cd
    6 36 3.6% if
    7 30 3% echo
    8 23 2.3% code
    9 22 2.2% adb
    10 22 2.2% -H
    livenux
        149
    livenux  
       2022-07-19 11:35:59 +08:00
    1 1787 32.9401% kubectl
    2 969 17.8618% ls
    3 409 7.53917% cd
    4 354 6.52535% vi
    5 264 4.86636% ssh
    6 170 3.13364% git
    7 155 2.85714% brew
    8 135 2.48848% helm
    9 93 1.71429% cat
    10 81 1.49309% go
    wkzq
        150
    wkzq  
       2022-07-19 11:37:32 +08:00
    1 5160 57.2126% git
    2 729 8.08294% make
    3 728 8.07185% go
    4 480 5.3221% brownie
    5 382 4.2355% cd
    6 133 1.47466% clear
    7 126 1.39705% vim
    8 118 1.30835% ll
    9 101 1.11986% yarn
    10 89 0.986806% rm
    gotoxavier2333
        151
    gotoxavier2333  
       2022-07-19 11:43:57 +08:00
    1 757 27.5073% l
    2 433 15.734% cd
    3 379 13.7718% nvim
    4 124 4.50581% j
    5 98 3.56105% ls
    6 72 2.61628% go
    7 64 2.32558% git
    8 56 2.03488% tmux
    9 50 1.81686% vim
    10 50 1.81686% docker
    byaiu
        152
    byaiu  
       2022-07-19 11:49:55 +08:00
    1 1071 10.396% rm
    2 741 7.19278% git
    3 614 5.96001% l
    4 529 5.13493% cd
    5 514 4.98932% grep
    6 390 3.78567% sudo
    7 362 3.51388% cat
    8 335 3.2518% m
    9 292 2.8344% less
    10 288 2.79557% vim
    zcwlwen
        153
    zcwlwen  
       2022-07-19 11:51:07 +08:00
    1 1641 16.4116% cd
    2 605 6.05061% ls
    3 557 5.57056% pi
    4 527 5.27053% git
    5 452 4.52045% open
    6 418 4.18042% pod
    7 362 3.62036% o
    8 335 3.35034% vim
    9 212 2.12021% rm
    10 174 1.74017% host

    pi 是 pod install --verbose
    o 是 open .
    xcsoft
        154
    xcsoft  
       2022-07-19 11:52:24 +08:00
    1 738 47.0064% git
    2 186 11.8471% go
    3 110 7.00637% clear
    4 81 5.15924% ls
    5 53 3.3758% cd
    6 36 2.29299% GOOS=linux
    7 32 2.03822% ssh
    8 28 1.78344% ipmitool
    9 25 1.59236% ping
    10 17 1.0828% yarn
    todorov
        155
    todorov  
       2022-07-19 11:54:05 +08:00
    看看楼上的,再看看我的,太汗颜了。。。
    1 5 31.25% ping
    2 4 25% exit
    3 3 18.75% touch
    4 3 18.75% quit
    5 1 6.25% eixt
    waltcow
        156
    waltcow  
       2022-07-19 12:01:30 +08:00
    1 2856 28.2018% git
    2 1024 10.1116% ls
    3 872 8.61064% cd
    4 409 4.03871% npm
    5 239 2.36003% ssh
    6 183 1.80705% modd
    7 174 1.71818% go
    8 166 1.63918% docker
    9 164 1.61943% goctl
    10 159 1.57006% brew
    stanedward
        157
    stanedward  
       2022-07-19 12:05:03 +08:00
    1 4150 42.1577% git
    2 687 6.97887% cd
    3 550 5.58716% ls
    4 532 5.40431% sudo
    5 371 3.76879% rails
    6 371 3.76879% bundle
    7 267 2.71231% scp
    8 170 1.72694% rm
    9 168 1.70662% vim
    10 146 1.48314% ssh
    tomwei7
        158
    tomwei7  
       2022-07-19 12:19:51 +08:00
    1 9 56.25% git
    2 1 6.25% vim
    3 1 6.25% ps
    4 1 6.25% make
    5 1 6.25% ls
    6 1 6.25% cd
    ysicing
        159
    ysicing  
       2022-07-19 12:32:11 +08:00
    ```
    history | awk '{CMD[$4]++;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

    local

    1 3512 33.3618% kubectl
    2 882 8.37846% git
    3 608 5.77562% cd
    4 489 4.6452% docker
    5 428 4.06574% go
    6 326 3.0968% cat
    7 294 2.79282% helm
    8 271 2.57433% curl
    9 202 1.91888% ping
    10 179 1.70039% cp

    remote:

    1 403 21.7956% kubectl
    2 223 12.0606% ls
    3 151 8.16658% git
    4 144 7.78799% make
    5 116 6.27366% cd
    6 94 5.08383% ssh
    7 59 3.19091% cat
    8 42 2.2715% docker
    9 37 2.00108% scp
    10 35 1.89292% nano
    ```
    uyoungco
        160
    uyoungco  
       2022-07-19 12:36:32 +08:00
    1 1481 14.6228% npm
    2 1233 12.1742% git
    3 1123 11.0881% cd
    4 773 7.63231% nvm
    5 663 6.54621% yarn
    6 625 6.17101% docker
    7 389 3.84084% open
    8 339 3.34716% ls
    9 336 3.31754% code
    10 244 2.40916% node
    Felldeadbird
        161
    Felldeadbird  
       2022-07-19 12:39:10 +08:00
    1 450 45% cd
    2 187 18.7% php
    3 110 11% ls
    4 47 4.7% lnmp
    5 38 3.8% date
    6 32 3.2% screen
    7 31 3.1% vi
    8 24 2.4% vmhgfs-fuse
    9 9 0.9% cat
    10 6 0.6% mysqldump
    Ysat
        162
    Ysat  
       2022-07-19 12:41:24 +08:00
    1 896 33.8752% npm
    2 487 18.4121% git
    3 228 8.62004% ls
    4 164 6.20038% cd
    5 80 3.02457% brew
    6 63 2.38185% node
    7 47 1.77694% tsc
    8 46 1.73913% docker
    9 43 1.62571% mysql
    10 41 1.55009% pwd
    idoubi
        163
    idoubi  
       2022-07-19 12:41:35 +08:00 via iPhone
    rm -rf
    qrobot
        164
    qrobot  
       2022-07-19 12:43:46 +08:00
    1 13 81.25% git
    2 1 6.25% ls
    3 1 6.25% code
    4 1 6.25% cd
    zhouweiluan
        165
    zhouweiluan  
       2022-07-19 12:50:45 +08:00
    不是敲代碼的路過
    1 7 43.75% ffmpeg
    2 3 18.75% smartctl
    3 2 12.5% export
    4 2 12.5% brew
    5 1 6.25% ffmepg
    6 1 6.25% diskutil
    yunweier
        166
    yunweier  
       2022-07-19 13:01:36 +08:00
    1 1547 14.8779% cd
    2 1498 14.4066% ll
    3 813 7.81881% brew
    4 756 7.27063% sudo
    5 567 5.45297% curl
    6 519 4.99134% jms
    7 319 3.0679% pokemon
    8 288 2.76976% ps
    9 282 2.71206% cat
    10 243 2.33699% ssh
    lscho
        167
    lscho  
       2022-07-19 13:07:02 +08:00
    1 258 19.4864% cd
    2 255 19.2598% git
    3 124 9.36556% ls
    4 103 7.77946% npm
    5 99 7.47734% brew
    6 97 7.32628% php
    7 57 4.30514% vim
    8 38 2.87009% ping
    9 35 2.6435% ssh
    10 33 2.49245% curl
    11 21 1.5861% sudo
    12 21 1.5861% node
    13 20 1.51057% rm
    14 20 1.51057% ab
    15 16 1.20846% composer
    16 10 0.755287% cat
    17 7 0.528701% nginx
    18 7 0.528701% cp
    19 6 0.453172% wget
    20 5 0.377644% which
    wxm1997
        168
    wxm1997  
       2022-07-19 13:08:09 +08:00
    1 798 18.5754% git
    2 538 12.5233% k
    3 258 6.00559% go
    4 213 4.9581% brew
    5 172 4.00372% cd
    6 168 3.91061% docker
    7 163 3.79423% ls
    8 141 3.28212% make
    9 113 2.63035% pip
    10 96 2.23464% vim
    11 79 1.83892% python3
    12 79 1.83892% conda
    13 60 1.39665% k3d
    14 53 1.23371% curl
    15 52 1.21043% yarn
    16 48 1.11732% python
    17 48 1.11732% g
    18 44 1.02421% source
    19 38 0.884544% ipython
    20 37 0.861266% gvm
    auroraccc
        169
    auroraccc  
       2022-07-19 13:15:17 +08:00
    1 5876 57.1818% git
    2 1136 11.0549% yarn
    3 710 6.9093% z
    4 518 5.04087% code
    5 279 2.71506% npm
    6 248 2.41339% cd
    7 96 0.934216% env
    8 92 0.89529% node
    9 86 0.836902% ping
    10 67 0.652005% ll
    freeandeasy
        170
    freeandeasy  
       2022-07-19 13:16:07 +08:00
    1 1460 14.3871% .
    2 724 7.13441% cd
    3 598 5.89279% kubectl
    4 580 5.71541% cat
    5 510 5.02562% git
    6 381 3.75443% vim
    7 312 3.0745% grep
    8 301 2.9661% ping
    9 286 2.81829% rm
    10 273 2.69019% ssh
    11 261 2.57194% ls
    12 251 2.47339% brew
    13 231 2.27631% helm
    14 218 2.14821% curl
    15 135 1.33031% docker
    16 113 1.11352% j
    17 108 1.06425% rsync
    18 108 1.06425% man
    19 107 1.05439% k
    20 106 1.04454% find
    zhanggang807
        171
    zhanggang807  
       2022-07-19 13:21:04 +08:00
    history | awk '{CMD[$4]++;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


    1 1507 15.0144% cd
    2 915 9.11627% ll
    3 682 6.79486% git
    4 299 2.97898% cat
    5 276 2.74983% ssh
    6 250 2.49078% vim
    7 237 2.36126% find
    8 230 2.29152% rm
    9 210 2.09226% echo
    10 202 2.01255% docker
    yuezk
        172
    yuezk  
       2022-07-19 13:21:33 +08:00
    1 1539 20.2633% git
    2 1301 17.1297% gst
    3 869 11.4417% ls
    4 672 8.84793% cd
    5 466 6.13562% gco
    6 336 4.42396% z
    7 204 2.68598% ggp
    8 130 1.71165% vim
    9 122 1.60632% kubectl
    10 116 1.52732% ssh
    TheWalkingDead
        173
    TheWalkingDead  
       2022-07-19 13:33:12 +08:00
    1 3268 32.3757% git
    2 1890 18.724% ssh
    3 924 9.15395% cd
    4 765 7.57876% ll
    5 688 6.81593% vim
    6 379 3.75471% dlp
    7 202 2.00119% ping
    8 149 1.47612% python
    9 137 1.35724% pip
    10 85 0.842084% sudo
    bluehtt
        174
    bluehtt  
       2022-07-19 13:41:24 +08:00
    1 1865 18.6388% git
    2 826 8.25505% cd
    3 728 7.27563% docker
    4 693 6.92584% vim
    5 633 6.3262% rm
    6 525 5.24685% sudo
    7 451 4.5073% ll
    8 341 3.40796% mv
    9 305 3.04817% ssh
    10 285 2.84829% scp
    ryalu
        175
    ryalu  
       2022-07-19 13:53:35 +08:00
    1 1695 16.5981% go
    2 921 9.0188% brew
    3 862 8.44105% cd
    4 765 7.49119% git
    5 711 6.9624% clear
    6 483 4.72973% ls
    7 362 3.54485% php
    8 338 3.30983% curl
    9 328 3.21191% ssh
    10 208 2.03682% export
    stevexu
        176
    stevexu  
       2022-07-19 14:01:02 +08:00
    1 6316 62.4481% git
    2 943 9.32371% cd
    3 660 6.52561% npm
    4 319 3.15404% go
    5 163 1.61163% gi
    6 156 1.54242% code
    7 132 1.30512% ls
    8 124 1.22602% rm
    9 113 1.11726% dlv
    10 103 1.01839% node
    Marinaaaa
        177
    Marinaaaa  
       2022-07-19 14:04:53 +08:00
    1 2676 23.2211% git
    2 1407 12.2093% kubectl
    3 834 7.23707% cd
    4 554 4.80736% composer
    5 518 4.49497% docker
    6 485 4.20861% ls
    7 469 4.06977% php
    8 339 2.94169% go
    9 309 2.68136% yarn
    10 257 2.23013% brew
    littlewing
        178
    littlewing  
       2022-07-19 14:06:42 +08:00
    1 465 46.5% git
    2 107 10.7% cd
    3 86 8.6% ls
    4 83 8.3% make
    5 29 2.9% tail
    6 18 1.8% vim
    7 14 1.4% rm
    8 10 1% ps
    9 8 0.8% gdb
    10 7 0.7% sysbench
    meetcw
        179
    meetcw  
       2022-07-19 14:12:51 +08:00
    1 931 9.27753% pacman
    2 912 9.08819% sudo
    3 862 8.58994% paru
    4 762 7.59342% git
    5 439 4.37469% cd
    6 234 2.33184% ssh
    7 231 2.30194% docker
    8 202 2.01295% vim
    9 171 1.70404% npm
    10 169 1.68411% lf
    spike060
        180
    spike060  
       2022-07-19 14:13:11 +08:00
    1 220 22% ls
    2 131 13.1% git
    3 99 9.9% cp
    4 98 9.8% cd
    5 39 3.9% make
    6 37 3.7% .
    7 35 3.5% ll
    8 25 2.5% fgrep
    9 25 2.5% code
    10 23 2.3% rm
    beetlerx
        181
    beetlerx  
       2022-07-19 14:15:21 +08:00
    1 112 22.4% ll
    2 91 18.2% cd
    3 37 7.4% curl
    4 23 4.6% sudo
    5 17 3.4% tx2
    6 15 3% git
    7 13 2.6% rm
    8 10 2% syu
    9 10 2% pwd
    10 8 1.6% ws
    Rooger
        182
    Rooger  
       2022-07-19 14:17:23 +08:00
    1 744 24.9246% ls
    2 385 12.8978% cd
    3 223 7.47069% vim
    4 203 6.80067% clear
    5 167 5.59464% git
    6 120 4.0201% go
    7 85 2.84757% ll
    8 55 1.84255% sh
    9 53 1.77554% cat
    10 48 1.60804% make
    sutra
        183
    sutra  
       2022-07-19 14:18:05 +08:00
    $ history | awk '{print $3}' | sort | uniq -c | sort -nr | head -10
    15696 git
    4146 cd
    3194 ll
    1027 mvn
    724 ssh
    519 sudo
    432 mosh
    398 cat
    370 echo
    348 eclipse
    ntnyq
        184
    ntnyq  
       2022-07-19 14:19:20 +08:00
    1 2780 23.4362% git
    2 1274 10.7402% cd
    3 580 4.88956% rm
    4 562 4.73782% z
    5 424 3.57444% c
    6 414 3.49014% yad
    7 365 3.07705% gcl
    8 321 2.70612% yarn
    9 298 2.51222% pad
    10 290 2.44478% code
    Webpoplayer
        185
    Webpoplayer  
       2022-07-19 14:20:23 +08:00
    1 764 16.3984% docker
    2 676 14.5096% ll
    3 635 13.6295% cd
    4 509 10.9251% cat
    5 224 4.8079% vim
    6 206 4.42155% fail2ban-client
    7 204 4.37862% docker-compose
    8 151 3.24104% systemctl
    9 133 2.85469% tail
    10 119 2.5542% firewall-cmd
    mudssky
        186
    mudssky  
       2022-07-19 14:22:47 +08:00
    我平时主要用 powershell 的

    ```
    Get-Content $env:USERPROFILE\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt |%{ ($_ -split ' ')[0]}|Group-Object | sort -Property Count -Descending -Top 10
    ```

    Count Name Group
    ----- ---- -----
    950 git {git, git, git, git…}
    467 yarn {yarn, yarn, yarn, yarn…}
    121 npx {npx, npx, npx, npx…}
    117 nvm {nvm, nvm, nvm, nvm…}
    104 npm {npm, npm, npm, npm…}
    92 pnpm {pnpm, pnpm, pnpm, pnpm…}
    36 gh {gh, gh, gh, gh…}
    28 cd {cd, cd, cd, cd…}
    22 docker {docker, docker, docker, docker…}
    22 ls {ls, ls, ls, ls…}
    fstar
        187
    fstar  
       2022-07-19 14:23:18 +08:00
    前端,经常用 git 提交代码,和 yarn 运行项目。

    1 2669 28.1066% git
    2 1665 17.5337% yarn
    3 445 4.68618% cd
    4 377 3.97009% ls
    zanyzephyr
        188
    zanyzephyr  
       2022-07-19 14:30:57 +08:00
    yyyyhere
        189
    yyyyhere  
       2022-07-19 14:36:23 +08:00
    1 6 37.5% git
    2 6 37.5% flutter
    3 2 12.5% source
    4 2 12.5% ping
    lfcyme
        190
    lfcyme  
       2022-07-19 14:40:31 +08:00
    上周刚换的新电脑

    1 287 21.2121% ls
    2 149 11.0126% vim
    3 140 10.3474% git
    4 131 9.68219% cd
    5 102 7.5388% j
    6 62 4.58241% make
    7 62 4.58241% asdf
    8 53 3.91722% brew
    9 44 3.25203% clear
    10 39 2.88248% ssh
    ngn999
        191
    ngn999  
       2022-07-19 14:41:16 +08:00
    1 1954 18.6718% ls
    2 1082 10.3392% git
    3 951 9.08743% brew
    4 724 6.9183% cd
    5 348 3.32537% du
    6 339 3.23937% rm
    7 318 3.0387% vim
    8 317 3.02914% pwd
    9 217 2.07358% frida-trace
    10 207 1.97802% ps
    JackyCDK
        192
    JackyCDK  
       2022-07-19 14:43:08 +08:00
    1 3105 28.8167% ls
    2 1859 17.2529% cd
    3 1154 10.71% git
    4 847 7.86079% sshnone
    5 396 3.67517% ssh
    6 375 3.48028% vim
    7 227 2.10673% scpnone
    8 221 2.05104% make
    9 173 1.60557% ping
    10 164 1.52204% rm
    mervin3e
        193
    mervin3e  
       2022-07-19 14:51:41 +08:00
    1 1934 22.8903% vim
    2 934 11.0546% cd
    3 880 10.4154% ls
    4 546 6.4623% go
    5 443 5.24322% git
    6 343 4.05965% brew
    7 217 2.56835% cat
    8 207 2.44999% pnpm
    9 175 2.07125% rm
    10 144 1.70434% .
    kkocdko
        194
    kkocdko  
       2022-07-19 14:54:38 +08:00   ❤️ 1
    我发现 2 楼的那段代码统计范围不包含 VSCode 内置终端。而我大多数时候都是在 VSCode 的终端中敲命令的。
    VincentYoung
        195
    VincentYoung  
       2022-07-19 14:56:41 +08:00 via iPhone
    clear
    waleslau
        196
    waleslau  
       2022-07-19 15:07:51 +08:00
    1 1597 15.9652% sudo
    2 815 8.14756% git
    3 724 7.23783% ls
    4 667 6.668% cd
    5 429 4.28871% rm
    6 398 3.97881% cat
    7 372 3.71888% zypper
    8 253 2.52924% podman
    9 227 2.26932% cp
    10 221 2.20934% vim
    ye4241
        197
    ye4241  
       2022-07-19 15:11:24 +08:00
    1 5 31.25% brew
    2 4 25% ping
    3 2 12.5% openssl
    4 2 12.5% nvm
    5 1 6.25% ssh
    6 1 6.25% open
    EvineDeng
        198
    EvineDeng  
       2022-07-19 15:19:44 +08:00
    1 547 10.2781% yay
    2 459 8.62458% cd
    3 371 6.97106% sn
    4 332 6.23826% ll
    5 315 5.91883% git
    6 306 5.74972% sudo
    7 232 4.35926% make
    8 218 4.0962% ssh
    9 193 3.62646% sp
    10 177 3.32582% exit
    EvineDeng
        199
    EvineDeng  
       2022-07-19 15:21:25 +08:00
    1 1546 15.3953% cd
    2 754 7.50846% cat
    3 514 5.1185% docker
    4 412 4.10277% dk
    5 357 3.55507% echo
    6 331 3.29616% rm
    7 285 2.83808% ls
    8 227 2.26051% dt
    9 224 2.23063% git
    10 220 2.1908% nali
    kenniewwwww
        200
    kenniewwwww  
       2022-07-19 15:24:27 +08:00
    1 469 16.4331% cd
    2 309 10.8269% git
    3 303 10.6167% hexo
    4 172 6.02663% ls
    5 167 5.85144% vim
    6 114 3.99439% brew
    7 98 3.43378% daka
    8 96 3.3637% curl
    9 89 3.11843% python
    10 49 1.71689% pip
    1  2  3  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5270 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:30 · PVG 17:30 · LAX 01:30 · JFK 04:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.