How to Run a Bash Command in Apache Airflow® with BashOperator
Plenty of pipeline steps are already shell commands: compress a file, run a script, call a command-line tool. In Apache Airflow®, BashOperator runs one as a task. Airflow starts bash with your command, writes everything it prints to the task log, and uses its exit code to decide whether the task succeeded. This guide runs one echo command on Airflow 3.4.0 and reads its log.
