(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“Convert Text Files from Windows Format to Linux Format and Vice-Versa $ dos2unix $ unix2dos Sooner or later you're going to be sent a file or download one that uses a pair of CR (carriage return) and LF (line feed) characters to terminate lines in the file.  Those type of files are Windows/DOS formatted.  Unix-like operating systems simply use the LF character to terminate a line.  Sometimes this can cause issues.  To convert the file to a unix-like format, use dos2unix.  To examine the line termination characters use "cat -A" or the "file" command. $”

Jason Cannon, Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners
Read more quotes from Jason Cannon


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners by Jason Cannon
263 ratings, average rating, 15 reviews
Open Preview

Browse By Tag