\n

From Hackepedia
Revision as of 12:58, 29 December 2005 by Franks (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.