---

How to Read a File Line By Line in Bash

In Bash, we can read a file line-by-line by providing the filename as an input to a while read loop.