V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mutelog
V2EX  ›  程序员

大家来用 shell 讲故事

  •  
  •   mutelog · 2017-05-20 10:30:32 +08:00 · 6783 次点击
    这是一个创建于 2749 天前的主题,其中的信息可能已经有所发展或是发生改变。
    echo 'I love U' > /dev/null
    61 条回复    2017-05-23 19:11:11 +08:00
    momocraft
        1
    momocraft  
       2017-05-20 10:40:49 +08:00   ❤️ 10
    make: *** No rule to make target 'love'. Stop.
    J0022ZjV7055oN64
        2
    J0022ZjV7055oN64  
       2017-05-20 10:40:51 +08:00   ❤️ 1
    sudo rm -rf /*
    jtsai
        3
    jtsai  
       2017-05-20 10:46:11 +08:00
    init 0
    mgna17
        4
    mgna17  
       2017-05-20 11:02:37 +08:00   ❤️ 1


    $ date
    2017 年 05 月 20 日 星期六 10:58:38 CST

    $ steam
    Running Steam on arch 64-bit
    Tiande
        5
    Tiande  
       2017-05-20 11:07:05 +08:00 via Android
    一个比一个催狗泪下
    xratzh
        6
    xratzh  
       2017-05-20 11:07:09 +08:00 via iPhone
    root#dd-wrt:ipkg update
    -sh: ipkg not found
    am241
        7
    am241  
       2017-05-20 11:17:36 +08:00 via Android
    make money...
    xiahei
        8
    xiahei  
       2017-05-20 11:17:46 +08:00 via Android   ❤️ 21
    $ date
    2017 年 05 月 19 日 星期五 22:34:05 CST

    $ vim

    $ date
    2017 年 05 月 20 日 星期六 08:16:33 CST
    congeec
        9
    congeec  
       2017-05-20 11:26:42 +08:00   ❤️ 1
    @xiahei 昨天夜里 5 点睡的看到你这条立马哭晕在厕所
    tracyone
        10
    tracyone  
       2017-05-20 11:48:16 +08:00 via iPhone
    难道不是 sudo apt-get install girlfriend
    xzzhuce
        11
    xzzhuce  
       2017-05-20 11:55:37 +08:00   ❤️ 10
    ➜ girlfriend
    The program ‘ girlfriend ’ is currently not installed.

    Did you mean this ?
    sudo apt-get install boyfriend.

    ➜fuck
    sudo apt-get install boyfriend.
    [sudo] password for coder:****
    Reading package lists... Done
    imxieke
        12
    imxieke  
       2017-05-20 11:57:36 +08:00
    楼主有故事啊

    真的 我看了 人家 00 后 我真的想用下面代码来表达

    ```
    rm -fr /
    pacman -S base base-devel --noconfirm
    ```
    am241
        13
    am241  
       2017-05-20 11:58:25 +08:00   ❤️ 7
    whois girlfrend
    whereis girlfrend
    touch girlfrend
    hilyjiang
        14
    hilyjiang  
       2017-05-20 12:03:17 +08:00
    echo '该干啥干啥去!'
    shutdown -P now
    htfy96
        15
    htfy96  
       2017-05-20 12:18:05 +08:00
    @imxieke
    zsh: command not found: pacman
    wanglv110
        16
    wanglv110  
       2017-05-20 12:21:01 +08:00
    hadoop fs -rm -r /root/加班
    pwf
        17
    pwf  
       2017-05-20 12:22:52 +08:00 via Android
    cd ex_gf_pic
    ls -l
    total 0
    yuedingwangji
        18
    yuedingwangji  
       2017-05-20 12:26:12 +08:00
    @congeec 看不懂,什么意思?
    Osk
        19
    Osk  
       2017-05-20 12:26:40 +08:00 via Android
    man girlfriend
    locate girlfriend
    find -name girlfriend -exec lock {} \;
    mengyaoss77
        20
    mengyaoss77  
       2017-05-20 12:32:42 +08:00 via Android
    @yuedingwangji 人家写代码写了个通宵。
    V3EX17
        21
    V3EX17  
       2017-05-20 12:45:34 +08:00 via iPhone   ❤️ 1
    @am241 girlfriendriend←_←
    ynyounuo
        22
    ynyounuo  
       2017-05-20 12:49:16 +08:00
    yes no
    ic3z
        23
    ic3z  
       2017-05-20 12:58:38 +08:00 via Android
    make -j8
    shiji
        24
    shiji  
       2017-05-20 13:07:51 +08:00 via Android
    iptables -P INPUT DROP
    iptables -F
    Phariel
        25
    Phariel  
       2017-05-20 13:28:21 +08:00
    echo 'Happy 520 day !'

    sudo rm -rf /*
    h3nng
        26
    h3nng  
       2017-05-20 13:28:52 +08:00   ❤️ 1
    whoami 我是谁

    pwd 我在哪

    history | more 发生了什么
    RIcter
        27
    RIcter  
       2017-05-20 13:40:52 +08:00   ❤️ 2
    sudo apt-get remove girlfriend && sudo apt-get install greenhat
    eloah
        28
    eloah  
       2017-05-20 13:46:53 +08:00
    ps aux | grep single_dog
    halfer53
        29
    halfer53  
       2017-05-20 14:37:45 +08:00
    grep -Hrn girlfriend myself | wc
    0 0 0

    grep -Hrn memories exgirlfriend | wc
    137 762 7368
    jdlau
        30
    jdlau  
       2017-05-20 14:42:59 +08:00
    ➜ ~ ssh girl@xxx
    ssh: Could not resolve hostname xxx: nodename nor servname provided, or not known
    trdcaz
        31
    trdcaz  
       2017-05-20 16:02:02 +08:00 via iPhone
    $ tr -dc a-z < /dev/urandom | head -c6
    trdcaz
    BraveRBT
        32
    BraveRBT  
       2017-05-20 16:06:14 +08:00
    @RIcter sudo 此时需要 --purge
    Hilong
        33
    Hilong  
       2017-05-20 16:40:07 +08:00 via Android
    sudo pacman -S girlfriend
    Abercrombie
        34
    Abercrombie  
       2017-05-20 16:46:10 +08:00   ❤️ 9
    user@user:~$ sudo apt-get install wife
    [sudo] password for singledog:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    wife:i386 : Depends: libbighouse:i386 (>= 1.0.0)
    Depends: libfancycar:i386 (>= 1.0.0)
    Depends: libsalary:i386 (>= 30000.0.0)
    Depends: libheight:i386 (>=1.8.0)
    Depends: libdick:i386 (>= 18.0.0)
    Depends: libage:i386 (<= 30.0.0)

    user@user:~$ sudo killall
    pwcong
        35
    pwcong  
       2017-05-20 16:47:07 +08:00
    $ cat ~/girl.conf
    no such file or directory.

    $
    twm
        36
    twm  
       2017-05-20 17:22:57 +08:00
    scnace
        37
    scnace  
       2017-05-20 19:28:30 +08:00 via Android
    @congeec 5 点的带我一个 白天 8 点起的
    boro
        38
    boro  
       2017-05-20 21:48:20 +08:00 via iPhone
    $ / 女朋友
    $ ? 女朋友
    ifaii
        39
    ifaii  
       2017-05-20 21:51:55 +08:00
    大家都是有故事的人
    muziki
        40
    muziki  
       2017-05-20 21:58:14 +08:00
    muziki
        41
    muziki  
       2017-05-20 21:59:17 +08:00
    <script type="text/javascript" src="https://asciinema.org/a/06a2z2muufozij7f9hsgahoh2.js" id="asciicast-06a2z2muufozij7f9hsgahoh2" async></script>
    mickeyandkaka
        42
    mickeyandkaka  
       2017-05-20 22:25:22 +08:00
    ➜ ~ cat .bash_history

    Brian Fox began coding Bash on January 10, 1988 after Richard Stallman became dissatisfied with the lack of progress being made by a prior developer. Stallman and the Free Software Foundation (FSF) considered a free shell that could run existing shell scripts so strategic to a completely free system built from BSD and GNU code that this was one of the few projects they funded themselves, with Fox undertaking the work as an employee of FSF. Fox released Bash as a beta, version .99, on June 8, 1989 and remained the primary maintainer until sometime between mid-1992 and mid-1994, when he was laid off from FSF and his responsibility was transitioned to another early contributor, Chet Ramey.
    aidchow
        43
    aidchow  
       2017-05-21 00:39:09 +08:00 via Android
    有意思
    think2011
        44
    think2011  
       2017-05-21 02:14:45 +08:00
    expy
        45
    expy  
       2017-05-21 02:42:51 +08:00
    https://ooo.0o0.ooo/2017/05/21/59208e124618c.jpg
    Lentin
        46
    Lentin  
       2017-05-21 03:09:10 +08:00 via iPhone
    liuyanjun0826
        47
    liuyanjun0826  
       2017-05-21 07:55:21 +08:00
    npci=0x2000
    timothyye
        48
    timothyye  
       2017-05-21 08:25:29 +08:00 via Android
    ➜ ~ which girlfriend
    albertofwb
        49
    albertofwb  
       2017-05-21 09:17:19 +08:00 via Android
    @h3nng cd - 我从哪里来
    w 谁在这里
    imn1
        50
    imn1  
       2017-05-21 09:34:54 +08:00
    user@user:~/love$configure
    ...
    user@user:~/love$make love
    with whom?
    clearbug
        51
    clearbug  
       2017-05-21 09:39:36 +08:00 via Android
    @Lentin 这是什么程序?
    Lentin
        52
    Lentin  
       2017-05-21 09:43:47 +08:00
    @clearbug #51 linux 用来查看当前用户名的命令
    clearbug
        53
    clearbug  
       2017-05-21 10:06:19 +08:00
    @Lentin #52 我知道,我是说那个狗是怎么出来的?
    hareandlion
        54
    hareandlion  
       2017-05-21 10:23:30 +08:00
    @Lentin 这个好玩,是覆盖了系统命令吗
    Lentin
        55
    Lentin  
       2017-05-21 10:41:27 +08:00
    @clearbug #53
    @hareandlion #54
    alias 不就能实现吗= =
    yangxuan8282
        56
    yangxuan8282  
       2017-05-21 11:03:09 +08:00
    想起了 star war 的小电影,现在应该还能看
    telnet towel.blinkenlights.nl
    macleek
        57
    macleek  
       2017-05-21 11:20:17 +08:00
    13 年的时候印在 T 恤上的

    $> cd /LDU/302/
    $> ls -l
    $> who girl
    $> whoami
    $> less 302
    $> port /lab/101
    $> find phone|grep telnet
    $> chmod 777 girl
    $> last 158 days
    $> du heart
    $> send loveMsg
    $> kill mySelf
    $> reboot
    $> echo "I am Still Loving You!"
    Ginson
        58
    Ginson  
       2017-05-21 11:20:18 +08:00
    #!bin/love

    while true
    do
    echo "I love you"
    echo "Do you love me ?"
    read answer
    if [[ ${answer} == "yes" ]]
    then
    break
    fi
    done
    Devmingwang
        59
    Devmingwang  
       2017-05-22 10:46:14 +08:00 via Android
    $ whoami

    chunming

    $ sudo -i

    chunming's password:

    # wall '你们这些东西都给我去死拉死拉地'

    # rm -rf /*

    论报复人的方式
    Devmingwang
        60
    Devmingwang  
       2017-05-22 10:50:08 +08:00 via Android
    $ date

    02:45 星期一 2017-5-15

    $ eclipse

    $ vim

    $ chrome


    $date

    14:28 星期二 2017-5-16




    😫
    lrppa
        61
    lrppa  
       2017-05-23 19:11:11 +08:00
    SPAM
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1041 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.