There are a lot of misunderstandings about the way the system is working here.
thinking it's already been asked, they usually flag the question and close it
In order to mark a question as a duplicate, there must be a suggested duplicate target, so a user cannot simply just call it a duplicate without any basis. Moreover, for gold tag badge holders in the question's tag, their close vote is binding and will immediately close the question; this also requires a duplicate target.
My point is, it isn't just a casual thought, it is an evidenced situation. As well, many users actually put more time into researching the duplicate target than the asker did actually crafting their question.
90% of the time or greater, they are not allowed the option (Which does exist) to click "This is indeed a duplicate" or "It's actually not a duplicate."
This is a bogus statistic.
The OP is allowed the option to confirm if the post is a duplicate, which was a feature implemented in 2015: New UI encourages askers to confirm or dispute duplicate votes. In addition, gold tag badge holders who disagree with duplicate closure can reopen with a single binding vote.
A large problem here is that to contest the "charge" of being a duplicate, users are expected to respond in comments and edit their question. However, most users who ask duplicate questions are not attentive, do not respond to comments, and do not edit their post to differentiate it.
The person asking the question is best suited to examine the charge of a duplicate as they're the ones actively working the problem.
Sometimes... Sure, maybe. Often though, the asker is unfamiliar with the technology, hence asking the question and making them rather unlikely to be the predominant source of knowledge for that topic. It is also unusual for higher rep users who ask questions to actually ask duplicate questions, which is to say that newer users are unfamiliar with the overall process here and tend to not find posts prior to posting ( arguably this is a failure of the system, which is in the process of being worked on and should be fixed in 4-6 decades ).
.toUpperCase()
yet the asker wants lowercased string. So, we already know that the question askers aren't the best when it comes to determining what is and isn't a solution to their problem.sh
(a common mistake), so was closed to a question explaining the differences; Triplee’s answer there has a summary that includes[[
not being available and a link to a complete overview, which includes the$EUID
variable that bash sets but what doesn’t.