Process Flow - BashOperator for shell commands
Define BashOperator
Set shell command
Schedule DAG run
Airflow executes BashOperator
Shell command runs in OS
Capture output and status
Task success or failure
The BashOperator runs a shell command inside an Airflow task, capturing its output and status to determine success.