unix2dos is a command-line utility that converts unix-style line endings in text files to dos-style.
In recent versions of Linuxmint it is not installed bye default. You need to install the tofrodos package.