unix2dos

Change Unix-style line endings to DOS-style. Replaces LF with CRLF. More information: <https://waterlan.home.xs4all.nl/dos2unix.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y dos2unix
Ubuntu
RUN apt-get update && \ apt-get install -y dos2unix
Alpine
RUN apk add dos2unix
Arch Arch Linux
RUN pacman -S --noconfirm dos2unix
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y dos2unix
CentOS
RUN yum install -y unix2dos
Fedora
RUN dnf install -y dos2unix
Raspbian
RUN apt-get update && \ apt-get install -y dos2unix
click the source code to copy install unix2dos on any operating system with command-not-found.com