• redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    More than a decade of using linux and I still can’t remember setfacl syntax. I have better luck remembering tar syntax.

      • pelotron@midwest.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        And tar -czf compress ze file. I saw someone post these mnemonic devices a while back and now I actually remember tar commands. Amazing!

      • Markaos@lemmy.one
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        This is a very useful way to remember it, but nowadays it’s better to drop the z (which immediately makes the mnemonic more forgettable, of course). tar can autodetect compression now, so tar -xf should work on anything from plain tar archives over tar.gz to more unusual compression algorithms like tar.xz or tar.bz2.

        (the z is specifically for gzip)