Linux Terminal Glossary
›
File Viewing & Editing
dos2unix file.txt
Category:
File Viewing & Editing
dos2unix file.txt
Copy command
Convert Windows CRLF line endings to Unix LF
Converts Windows-style line endings (CRLF, \\r\\n) to Unix style (LF, \\n). Windows and Unix use different invisible characters to mark line ends.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.