Home  >  Q&A  >  body text

linux - 说说你觉得最狂霸酷炫屌炸天的命令

比如:

pwd | pbcopy

mac下是拷贝当前路径到黏贴板

最好写上注释, 对于没有注释的新手们不要乱试啊,乖,出问题了踩答案啊,为毛踩我的问题,看我开的头多好的,没想到楼歪这么厉害.....真是的, 看来TDD还没死,同志们请用你们的大脑编译器跑一下下面这个测试,跑挂了的请自觉修过测试:

def 狂霸酷炫 = (yourCommands) => {
    yourCommands.forEach((command) => {
        assert(command().userReaction).not.contains("草")
        assert(command().userReaction).contains("Woww")
    })
}

Ref: stackoverflow

高洛峰高洛峰2745 days ago1415

reply all(40)I'll reply

  • 高洛峰

    高洛峰2017-04-17 11:49:43

    xkill When a window is stuck, kill it

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:49:43

    I dare to test it.

    reply
    0
  • 迷茫

    迷茫2017-04-17 11:49:43

    ctrl + c
    rm -rf /
    find
    init 0
    

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:49:43

    Mac Terminal

    $ say Segment Fault
    

    reply
    0
  • 阿神

    阿神2017-04-17 11:49:43

    Win + R
    

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 11:49:43

    ctrl + w
    rm -rf

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 11:49:43

    cd //
    pwd
    

    Let’s try it. #When using bash.

    reply
    0
  • 黄舟

    黄舟2017-04-17 11:49:43

    No one else
    rm -rf /

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 11:49:43

    nixos-rebuild switch

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 11:49:43

    rm -rf
    

    reply
    0
  • Cancelreply