• aldalire@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    9 months ago

    Replace “:” with “a” you get

    a() a a&; a

    Reformatting

    a() {

    a | a &

    };

    a

    So it creates a function, a, which what it does is it calls itself and pipes its output to itself (the a | a). The ampersand means that this will run entirely in the background. Then, to initiate things, the command calls a (in the last line)

    So, there will be exponentially be many recursive calls to a, which will eventually deplete your stack and set your pc on fire