I'm new to bash programming. I've read two good, long guides, but they made a mess in my head about operators and keywords.
Which are more commonly and widely used? I don't know when to use which and why.
test
,[[ ]]
or[ ]
or even(( ))
$((exp))
or$[exp]
-gt
or>
,ge
or>=
etc.- when to use
<
and>
or( )
and when we have to escape it with\:
\<
\(
etc. ==
or=
(string comparisons)
I know the basic differences between [
and [[
but other questions are a mystery for me.
Thank you in advance