Solution as below:
1. install tofrodos: sudo apt-get install tofrodos
2. fromdos filename filename
PS. there are two commands: fromdos and todos
Solution as below:
1. install tofrodos: sudo apt-get install tofrodos
2. fromdos filename filename
PS. there are two commands: fromdos and todos