> For the complete documentation index, see [llms.txt](https://kashz.gitbook.io/kashz-jewels/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kashz.gitbook.io/kashz-jewels/tricks/bash-scripting.md).

# bash scripting

```bash
# loops
while read line; do blah; done < FILE

for x in $(cat FILE); do blah; done
```
