If you have any suggestions or criticisms, feel free to comment them.

Being plain text, it’s much easier to read on a wide screen, or on something without line wrapping.

  • adam_y@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    ·
    9 months ago

    This is really good. Clear and well laid out.

    The only thing that might confuse some beginners is your specific choice of package manager.

    • asciiandarch@lemmy.mlOP
      link
      fedilink
      arrow-up
      19
      ·
      9 months ago

      I added more information to the installing software section, updated section title to specify Arch Linux, and added another section for Debian and Derivatives.

    • asciiandarch@lemmy.mlOP
      link
      fedilink
      arrow-up
      27
      ·
      9 months ago

      I made this just as much for me as I did for others. Writing things down myself really helps me memorize them.

  • jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    15
    ·
    9 months ago

    Nice work.

    My tiny nitpick is that “touch” will create the file you specify if it doesn’t exist. I’ve seen this usage a lot, so your example may benefit from mentioning it.

  • asciiandarch@lemmy.mlOP
    link
    fedilink
    arrow-up
    12
    ·
    9 months ago

    Thanks for all the feedback! I’m much happier with it now, and I’ll probably continue to make small changes over time.

  • charles@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    9 months ago

    I find the references to file extension kinda confusing. Extensions mean a lot less in Linux cli, but I can tell youre just using them for examples. Maybe give more concrete examples instead.

    ls *.sh to list all the files ending in .sh

    • asciiandarch@lemmy.mlOP
      link
      fedilink
      arrow-up
      9
      ·
      9 months ago

      I updated various examples, and replaced <file extension> with <text> in most places and removed it from the legend.

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

    I don’t know how this would be useful to someone reading the cheat sheet, but here’s something interesting I just indirectly found out while skimming it through:

    Ctrl+D does the same thing as ENTER, except the latter additionally sends the end-of-line character to the reader while the former sends nothing;
    as is the case for shells or interactive programs like the Python REPL, Ctrl+D causes them to terminate only because it sends a string that is 0 characters long, and 0-size reads are universally interpreted as files reaching the end.

    To test this: enter cat, type “hello” without pressing enter, then Ctrl+D: you should see “hellohello”.
    An extremely rare case of this being useful would be using netcat to send a string somewhere, without sending the end-of-line byte at the end.

    • asciiandarch@lemmy.mlOP
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      I updated “Log out” to “Exit (sends a signal indicating the end of a text stream)”. Which I think is a lot more accurate, and still easy to understand.

  • lars@lemmy.sdf.org
    link
    fedilink
    arrow-up
    6
    ·
    9 months ago

    Oh. My. Gosh. I love this. Thank you. And thank you for being --verbose about the provenance and history of the document. And big big thank yous for the Internet Archive links. Bravo.

  • charles@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 months ago

    What do you mean about “/ root directory, eg /usr/bin/bash”? / is /, just the top-most directory

    • Martin@feddit.nu
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Yes, the top most directory, /, is the root directory.

      Each directory is a branch in one giant tree structure. For example, if you have a directory containing two other directories, that is a branch that is splitting into two branches. All directories are descendants of the same root.

      • nighty@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        cd - negates cd -, so you’re right back where you started! It’s like multiplying 2 negatives.

  • ian@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    Wow. I’ll definitely avoid Linux now. I had heard Linux was supposed to be easy to use now.

    • cafuneandchill@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      9 months ago

      All this terminal stuff is absolutely not necessary for an average user; graphical applications are often more than enough

    • heckypecky@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      It is not as complicated as it looks! As a long time windows user I’m in the process of getting used to the command line and I love the simplicity and direct way of doing things. For some tasks and small programs it is amazing. Grep for example is something amazing that you couldn’t do in a windows type UI.

      For other stuff like visualizing a directory tree you can always use a mouse interface. You’re rarely forced to use the terminal.

    • okamiueru@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 months ago

      Makes as much sense as saying “I’ll definitely avoid Windows now. I had heard that Windows was supposed to be easy to use”, since most of this also applies to WSL2.

      • ian@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Maybe the guide is not intended for some beginners after all?

        • okamiueru@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          9 months ago

          I suppose. If your criticism is that it could have been more specific as to what you are a supposed “beginner” in, then I agree.

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

    This is fantastic. Just at a glance I already learned something new! Definitely keeping this for reference.