while IFS= read -r line do echo "${line}" # Process each line as needed done < /path/to/your/file.txt