---

How to: Bash scripting and read text file line by line

I’m new to bash shell scripting on a Linux operating system. How can I read a text file line by line and perform some action with it, then use bash while loop for sysadmin task?