# dos2unix > Change dos-style line endings to unix-style. > Replaces CRLF with CR. - Change line endings of a file: `dos2unix {{filename}}` - Create a copy with unix-style line endings: `dos2unix -n {{filename}} {{new_filename}}`