You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In section 105.2 Customize or write simple scripts, it is worth mentioning why [condition ] does not work.
Suggested text:
When using [ $kernel = "Linux" ], you might wonder why there must be a space after the [ character. This is because [ is not just a syntax element, but an actual program itself. Check type [ and which [.
Just like when you type cd /home and ls /tmp not cd/home or ls/tmp. You need spaces to separate the command from its arguments.
The text was updated successfully, but these errors were encountered:
Hi, I hope you have a good day.
In section
105.2 Customize or write simple scripts
, it is worth mentioning why[condition ]
does not work.Suggested text:
When using
[ $kernel = "Linux" ]
, you might wonder why there must be a space after the[
character. This is because[
is not just a syntax element, but an actual program itself. Checktype [
andwhich [
.Just like when you type
cd /home
andls /tmp
notcd/home
orls/tmp
. You need spaces to separate the command from its arguments.The text was updated successfully, but these errors were encountered: