Skip to content

Commit

Permalink
Fix Typo in Shell Scripting Literal Description (#5613)
Browse files Browse the repository at this point in the history
Fixed a typo in the definition of boolean literals in shell scripts that could be misleading
  • Loading branch information
bitblocksplicer committed May 10, 2024
1 parent 540d503 commit bd76e76
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -6,7 +6,7 @@ String Literals: They can be defined by enclosing the text between either single

Numeric Literals: They represent a sequence of digits. For example, 25, 100, or 1234.

Boolean Literals: In most of the Linux shell scripts, 0 represents true, and 1 represents false.
Boolean Literals: In most of the Linux shell scripts, 1 represents true, and 0 represents false.

Be mindful of the type of literal you're using as it can significantly influence your scripting, your code's readability, and its overall functionality.

Expand All @@ -22,4 +22,4 @@ echo $NumericLiteral

In this example, `StringLiteral` and `NumericLiteral` are literals and `echo` is used to print them.

Always remember, a good understanding of literals is fundamental when it comes to shell scripting in Linux.
Always remember, a good understanding of literals is fundamental when it comes to shell scripting in Linux.

0 comments on commit bd76e76

Please sign in to comment.