M Mỹ Duyên New member Jan 17, 2022 #1 How do you find line breaks in Unix? Answer Try file then file -k then dos2unix -ih It will output with CRLF line endings for DOS/Windows line endings. It will output with LF line endings for MAC line endings. And for Linux/Unix line “CR” it will just output text .
How do you find line breaks in Unix? Answer Try file then file -k then dos2unix -ih It will output with CRLF line endings for DOS/Windows line endings. It will output with LF line endings for MAC line endings. And for Linux/Unix line “CR” it will just output text .