diff --git a/pages/linux/dos2unix.md b/pages/linux/dos2unix.md new file mode 100644 index 0000000000..38100a0671 --- /dev/null +++ b/pages/linux/dos2unix.md @@ -0,0 +1,12 @@ +# 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}}`