this post was submitted on 05 Aug 2024
1381 points (99.1% liked)

linuxmemes

20751 readers
346 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

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] 8 points 1 month ago* (last edited 1 month ago) (1 children)

dammit I should know this by now lma

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

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

[–] [email protected] 3 points 1 month 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?