What is the use of LF in a Unix file?
I have frequently heard about LF in the context of *nix files. Can somebody please explain to me why it is used?
I have frequently heard about LF in the context of *nix files. Can somebody please explain to me why it is used?
LF(Line Feed) allows the cursor move to next line without returning to begin on the line. This character is used as a new line char in Unix based system.
Char: (0x0A, \n)
Line Feed (Linux, MAC OSX)
LF = \n = ASCII code 10
Asked: 2017-06-09 06:40:38 -0600
Seen: 57 times
Last updated: Jun 09 '17
Check this article, see if it clears up the reasoning for LF. https://www.redhat.com/archives/redha...