It is against the rules but but what is it exactly?

  • Norah - She/They@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 months ago

    I have seen that code block so many times, but never with the options switch around so it stands for french 😂 Thankfully in most cases these days you need to add --no-preserve-root for this command to run.

    • darklamer@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      3 months ago

      but never with the options switch around

      Life pro tip: always put the force flag first on any command line you write (that has such a flag), to ensure that it’s the first thing seen by everyone (including your future self) reading that command line.

      • everett@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        I don’t think these things are universal across software, but you can often put -f on its own, separate from other flags, or get in the habit of using the long --force flag.

        • Fonzie!
          link
          fedilink
          arrow-up
          6
          ·
          3 months ago

          As far as I’ve seen, single letter flags like -f can always be used by themselves, like -f -r

          It’s actually not universal that they can be put together like -fr