Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Remove Control M' Characters (^M) with Unix and Linux commands  (Read 2163 times)

0 Members and 1 Guest are viewing this topic.

nirmal

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
Remove Control M' Characters (^M) with Unix and Linux commands
« on: November 17, 2013, 01:42:12 pm »
Remove Control M' Characters (^M) with Unix and Linux commands

1) Installation : yum install dos2unix

2) Using dos2unix  command

dos2unix ORIG_FILENAME TEMP_FILENAME

mv TEMP_FILENAME ORIG_FILENAME

IMP NOTE: use dos2ux command if you are using HPUX
                    use dos2unix  command if you are using LINUX
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!