linux read file line by line echo newline shell code example Example: echo new line in a file bash echo -e "Line 1\nLine 2"