\n

From Hackepedia
Jump to navigationJump to search

\n is often used as a newline. In the case of shell, you have to escape the \n with an \ as you can see:

# printf hello
hello# printf hello\\n
hello

In typing examples, \n usually just means you should hit the [Enter] key.