Search notes:

Shell command: dos2unix

Convert DOS file format to Unix file format:
dos2unix some-dos-file.txt
dos2unix normally replaces the endings on the file. In order to specify a different output file, the -n flag is used:
dos2unix -n file-one.dos file-one.unix file-two.dos file-two.unix

See also

line break, change line endings
Shell commands

Index