Sign in with
Sign up | Sign in
Your question

What is \r in linux?

Tags:
Last response: in Linux/Free BSD
Share
August 24, 2012 4:53:33 AM

Hello,
I'm sure ALOT of you will laugh but this is really bugging me. I'm in college and we are using Wireshark. Going through a FTP connection and just about every other line has \r or \r\n in it. What are these for? I've found alot of lists that have the commands, but don't explain these. Can anyone tell me a good place t find out?

More about : linux

a b 5 Linux
August 24, 2012 6:41:58 AM

\r is "carriage return" and \n is "new line". Think of them as end-of-line markers in a text file. In a binary file (a program, a music file, a picture, etc. they are just numbers).
m
0
l
August 24, 2012 10:20:04 PM

Ok, that makes sense. So I just need to pay more attention to the command lists and not those. Thanks for your relpy.
m
0
l
!