add text on new line file bash code example Example: echo new line in a file bash echo -e "Line 1\nLine 2"