\
\ can be \ is a newline \
is a carriage return
The newline character in windows is \
\ , and \ under linux/unix. Where \
=0x0d represents a carriage return and \ =0x0a represents a line feed. The early computer output device was not a display, but a teletypewriter, and the structure was similar to that of a normal typewriter. There is a printhead that is typed on paper and a motor that controls the entry and exit of the paper. When the print head reaches the end of the line, two actions are required to reach the beginning of the next line: first, the carriage return action is performed, the print head is moved to the beginning of the line, and then the line feed is performed, and the motor moves the paper up one line. So that the printhead is at the beginning of the next line and you can continue printing. The control characters corresponding to carriage return and line feed are \
and \ respectively, which is the origin of the newline character in \
\ in windows. Later, because of the continuous execution, the two control characters are reduced to a control character in the printer. This is the origin of the newline \ in linux/unix.
When you make a log file, it is confusing to open the file written by printWriter on Windows, because the line break written in the printLn method under Linux is \ . Can't recognize \
\ in windows to be considered a newline
JFS was developed by IBM and originally appeared on the AIX operating system, which provides a log-b
Generally speaking, after installing ubuntu, the centralized display driver has been installed. Howe
self-entertainment, I decided to start a Linux server, then execute the ld & ldquo;rm –rf /&rd
According to foreign media reports, Linux does not seem to be fully loved by people. Operating syste
Detailed explanation of the Find command in Linux
PXE+TFTP+DHCP network automatically boots and installs Linux
Linux memory view command (free -m) using tutorial
How to build a Linux firewall using netfilter/iptables
Linux Network Programming--Advanced Socket Function
Clean up memory and Cache method under Linux /proc/sys/vm/drop
What is the meaning of the Linux file name color
Novice Academy: Find out the ins and outs of Linux log processing
How to call the character mapping table in Windows10?
What should I do if the Windows 8 system C disk space is smaller?
How do I disable UEFI Secure Boot on Win 8 to install Linux?
How to restore Win8 desktop icons
Is the computer turned off or sleeping? This is a problem
What is the QQ footprint? What is the use?
Win10 system Edge browser download page garbled how to do