---

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?

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis