le would be to give a default value to a variable normally read from the command-line arguments, when no such arguments are given. This is shown in the fo... export $foo="this is a test" echo ${foo%%t*is}
NOTE
While the # and % identifiers may not seem obvious, they have a convenient mnemonic. The # key is o
> if [ "$a" -eq "$b" ]</code>
----
-ne
is not equal to
<code> if [ "$a" -ne "$b" ]</code>
... " == "$b" ]</code>
This is a synonym for =.
Note
The == comparison operator behaves differentl... al to z* (literal matching).
</code>
----
!=
is not equal to
<code>if [ "$a" != "$b" ]</code>
This... [[ "$a" < "$b" ]]
if [ "$a" \< "$b" ]
</code>
Note that the "<" needs to be escaped within a [ ] c