mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
586 B
Markdown
8 lines
586 B
Markdown
# Functions
|
|
|
|
Functions in shell scripting are reusable blocks of code that perform a specific task. They allow you to organize your scripts, avoid repetition, and make your code more readable and maintainable. You can define a function, give it a name, and then call it multiple times throughout your script, passing arguments if needed.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Bash Functions](https://www.w3schools.com/bash/bash_functions.php)
|
|
- [@video@Crash-Course! Functions in Bash quickly explained and demystified!](https://www.youtube.com/watch?v=0tycTrpbWKs) |