You can automate tasks, or do a lot more with bash scripts.
Start a bash script with: #!/bin/bash
#!/bin/bash
Comparisons
Bash Expansion
Test