Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What does Linux mean by CRLF, CR and LF

Shulou Source: shulou.com Published: 2022-06-01 16:34:03 10月03日 Update

This article mainly explains "what is the meaning of CRLF, CR and LF of Linux". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the meaning of CRLF, CR and LF of Linux".

Noun interpretation

CR:Carriage Return, corresponding to the escape character\ r in ASCII, indicates enter

LF:Linefeed, which corresponds to the escape character\ n in ASCII, indicating line break

CRLF:Carriage Return & Linefeed,\ r\ n, indicates enter and line feeds

as everyone knows,

The Windows operating system uses two characters to wrap lines, namely CRLF

The Unix/Linux/Mac OS X operating system uses a single character LF for line wrapping

In addition, the MacIntosh operating system (that is, the early Mac operating system) uses a single character CR to wrap lines.

Batch conversion of link, in which Linux can be converted directly with dos2unix instruction

Thank you for your reading, the above is the content of "what is the meaning of Linux's CRLF, CR, LF". After the study of this article, I believe you have a deeper understanding of what Linux's CRLF, CR, and LF mean, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Meaning operating system system characters learning content single meaning word transfer as we all know two nouns noun interpretation that is ideas situations instructions articles more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia Redmi Shulou Tech Info Linux