1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-10-18 17:32:39 +00:00

Fix typos

This commit is contained in:
Mo 2022-09-26 20:14:48 +02:00
parent 58765bc5cf
commit 2c435c1713

View file

@ -112,7 +112,7 @@ The line above would output `Hello world!`.
You can use defined variable inside a variable definition: You can use defined variable inside a variable definition:
```bash ```bash
MESSAGE="Tux says: $HELLo" MESSAGE="Tux says: $HELLO"
echo $MESSAGE echo $MESSAGE
``` ```
@ -147,7 +147,7 @@ $ echo $BASH_VERSION
GNU bash, version 5.1.16(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. GNU bash, version 5.1.16(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
``` ```
You can see that the lines are squashed into one line! If you want to output the lines without them beeing squashed, you have to use quotation marks `"`: You can see that the lines are squashed into one line! If you want to output the lines without them being squashed, you have to use quotation marks `"`:
```console ```console
$ echo "$BASH_VERSION" $ echo "$BASH_VERSION"