🐚 Shell Functions Lesson
📝 Basics
functionName() { ... }
— Define a function
$1, $2, $3
— Function arguments
return
— Exit a function
💻 Try It Yourself
#!/bin/bash greet() { echo "Hello $1" } greet Alex greet World
▶️ Run Simulation
Output will appear here...