From bd76e760d42ccbcb3d7c6021d5bffd6a8ca8f9b4 Mon Sep 17 00:00:00 2001 From: bitblocksplicer Date: Fri, 10 May 2024 21:12:09 +0300 Subject: [PATCH] Fix Typo in Shell Scripting Literal Description (#5613) Fixed a typo in the definition of boolean literals in shell scripts that could be misleading --- .../linux/content/114-shell-programming/103-literals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/linux/content/114-shell-programming/103-literals.md b/src/data/roadmaps/linux/content/114-shell-programming/103-literals.md index ee112dcb2..dc56c2246 100644 --- a/src/data/roadmaps/linux/content/114-shell-programming/103-literals.md +++ b/src/data/roadmaps/linux/content/114-shell-programming/103-literals.md @@ -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. @@ -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. \ No newline at end of file +Always remember, a good understanding of literals is fundamental when it comes to shell scripting in Linux.