diff --git a/pages/linux/unix2dos.md b/pages/linux/unix2dos.md new file mode 100644 index 0000000000..bc7c4deae1 --- /dev/null +++ b/pages/linux/unix2dos.md @@ -0,0 +1,12 @@ +# unix2dos + +> Change unix-style line endings to dos-style. +> Replaces CR with CRLF. + +- Change line endings of a file: + +`unix2dos {{filename}}` + +- Create a copy with dos-style line endings: + +`unix2dos -n {{filename}} {{new_filename}}`