Furry (feral dhole), he/him, feet/(hind)paw worshipper, car appreciator, mechanical watch wearer, cloud engineer, thinkpad/pop!os!!/i3wm user, occasional synth/guitar/handpan player, car/track enthusiast

Avatar and banner artist: Heatherwolf

Migrated from https://yiffit.net/u/noxy

  • 0 Posts
  • 31 Comments
Joined 9 months ago
cake
Cake day: December 16th, 2024

help-circle









  • Noxy@pawb.socialtolinuxmemes@lemmy.worldRTFM is Sage
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Following the openbsd example from the original comment I replied to, it has absolutely nothing to say about what brackets mean, so this advice would not be helpful for an openbsd system: https://man.openbsd.org/man

    On my personal linux system (arch derivative, by the way), it at least mentions brackets meaning optional, but only in the context of arguments:

       [-abc]             any or all arguments within [ ] are optional.
    

    I think this would trip up some new users. The destination, with or without the username to connect as, may not seem like an “argument” to a new user since it doesn’t have a dash before it like the example does


  • Noxy@pawb.socialtolinuxmemes@lemmy.worldRTFM is Sage
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    No worries, didn’t feel demeaned but wanted to be clear that it was an attempt to try to ignore ~23 years of ssh muscle memory to try to guess what might trip up a new Linux user

    Very much true in my case - I couldn’t explain what the, like… “idiomatic” meaning of those brackets is, I only guess from context and experience, and it remains a minor peeve of mine that such symbology is widely used but rarely explained






  • Noxy@pawb.socialtolinuxmemes@lemmy.worldRTFM is Sage
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    ssh connects and logs into the specified destination, which may be specified as either [user@]hostname or a URI of the form ssh://[user@]hostname[:port]

    ssh [admin@]192.168.1.1
    ssh: Could not resolve hostname ]192.168.1.1: No address associated with hostname
    

    That’s how I would interpret that part of the man page had I no familiarity with ssh. It doesn’t seem reasonable to expect the reader to know what those brackets mean.