just learning to script bash thanks to google gemini :)
ps : i didnt know that w3schools teach bash too.Here is the link
macOS uses zsh by default.To switch to BASH, type this command bash in the terminal. Once you type this command , then the terminal will now run with the bash protocol
If you wanna permanently make bash the deafult , you can use the following command : chsh -s /bin/bash (it is not recomended but it is possible tho :)) )