Knowledge Base - FAQ

Question: How can I loop through lines in a text file in bash?

for i in $(cat example.txt); do echo $i; done


Last Modified: Nov 23, 2010


Select a category
Search:

Kattare is Trustwave Certified and Safe Harbor Certified | Rated Safe For Kids by ICRA | All Rights Reserved Worldwide
Copyright © 1997 - 2012 Kättare Internet Services | Processed in 0.011 seconds by webmail in Corvallis, Oregon