hailongs

mac 下搜索你们常用的命令是什么

  •  
  •   hailongs · Jan 4, 2016 · 3950 views
    This topic created in 3975 days ago, the information mentioned may be changed or developed.

    1.搜索文件?
    2.搜索文件中的关键字?

    17 replies  •  2016-01-06 23:41:13 +08:00
    SoloCompany
    SoloCompany
    Jan 4, 2016 via iPhone
    1
    1 find | grep
    2 grep . -R
    foru17
    foru17
    Jan 4, 2016❤️1
    2
    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
    查看最常用的 10 个命令
    =====

    1 1643 24.7477% ls
    2 545 8.20907% cd
    3 507 7.63669% vim
    4 410 6.17563% j
    5 393 5.91957% gl
    6 329 4.95557% git
    7 281 4.23257% up
    8 260 3.91625% gs
    9 172 2.59075% service
    10 167 2.51544% sudo
    hackpro
    hackpro
    Jan 4, 2016
    3
    ag named as silver searcher
    hailongs
    hailongs
    OP
    Jan 4, 2016
    4
    @foru17 pt 是否可以搜文件?另外, pt 这个东西怎么下来着,我给忘了。。。。
    hailongs
    hailongs
    OP
    Jan 4, 2016
    5
    @hackpro 啥意思
    shao
    shao
    Jan 5, 2016
    6
    难道不是 Spotlight ?
    FrankFang128
    FrankFang128
    Jan 5, 2016
    7
    fzf
    slixurd
    slixurd
    Jan 5, 2016
    8
    locate/find
    Shintaku
    Shintaku
    Jan 5, 2016
    9
    1. find -name FILE_NAME
    2. mdfind "KEY_WORD"
    foru17
    foru17
    Jan 5, 2016
    11
    @hailongs 我才发现我理解错 LZ 的标题了
    cxbig
    cxbig
    Jan 5, 2016
    12
    1. find
    2. mdfind
    3. locate
    bravejoe
    bravejoe
    Jan 5, 2016
    13
    1. find
    2. ag
    hailongs
    hailongs
    OP
    Jan 5, 2016
    14
    @lyoe 你们用 find 每次都要输入密码,不烦吗???有没有 find 免输密码的方法???
    bravejoe
    bravejoe
    Jan 5, 2016
    15
    @hailongs find 命令不需要密码啊,难道我们说的不是同一件事儿?
    hailongs
    hailongs
    OP
    Jan 6, 2016 via iPhone
    16
    @lyoe 我用啊。艹。。说权限没有,每次都报拒绝
    kotokz
    kotokz
    Jan 6, 2016
    17
    ag the_silver_searcher
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4673 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 01:34 · PVG 09:34 · LAX 17:34 · JFK 20:34
    ♥ Do have faith in what you're doing.