Bash scripting is helpful in cybersecurity and threat hunting because it enables security professionals to automate repetitive tasks like log analysis, data collection, and routine security checks. https://devhints.io/bash
This not only saves time but also ensures consistency in security procedures.
Here is a cheat sheet for bash scripting: Introduction
Parameter expansions
Loops
Functions
Conditionals
Arrays
Dictionaries
Options
History
It is Bash helpfull but mostly in System Administration, Python have wide range of frameworks that is more suitable for automation and all other tasks in Cyber Security.