this post was submitted on 05 Aug 2024
1392 points (99.2% liked)

linuxmemes

21088 readers
1426 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 15 points 2 months ago* (last edited 2 months ago) (1 children)

    Just drop a \ in front of the first * and you're all good.

    [–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (1 children)

    dammit I should know this by now lma

    [–] [email protected] 2 points 2 months ago (1 children)

    Its weirdly the one I don't see on the lists and its pretty useful.

    [–] [email protected] 3 points 2 months ago

    Not sure what lists you're talking about, but it's nerding time anyway.

    The backslash (the \ symbol) is used to "escape" characters in the software world, i.e. tell the software to treat the following character as a simple symbol, not some instruction. It's very well-known among developers, so if they happen to be the ones writing guides on Markdown (the syntax where you use asterisks and some other symbols to dictate the final layout while having the luxury of being able to edit the document in a plain-text editor), it can actually elude them because it's mundane.

    In fact, some software won't allow you to use the backslash in short text fields such as names or passwords because doing so could potentially open up security risks where the malicious actors "inject" some instructions into software to cause all sorts of trouble. On the other hand, this is probably a redundant old measure, as there are usually other means to prevent this kind of attack today, but that's the power of habit, I guess; and, well, if it's a simple measure that works, there's not much reason to get rid of it, is there?