Files
developer-roadmap/roadmaps/linux/content/variables@JyxvZOb7iusOSUYSlniGl.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
779 B
Markdown

# Variables
Shell variables store system or user-defined data that can change during script execution. Two categories exist: System Variables (PATH, HOME, PWD) created by Linux, and User-Defined Variables created by users. Define variables with `=` operator and retrieve values with `$` prefix. Example: `MY_VARIABLE="Hello World"` then `echo $MY_VARIABLE` prints the value.
Visit the following resources to learn more:
- [@article@Learning The Shell](https://www.linuxcommand.org/lc3_lts0010.php)
- [@article@How to Use Variables in Bash Shell Scripts](https://linuxhandbook.com/bash-variables/)
- [@article@How To Read and Set Environmental and Shell Variables](https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-linux)