newline – Difference between n and r? – Stack Overflow

The /n stands for new line, again, from typewriter days you moved down to a new line. Not necessarily to the start of it though, which is why some OSes adopted the need for both a /r return followed by a /n newline, as that was the order a typewriter did it in.

Read More