How to remove ^M character from VI editor

Inside vi [in ESC mode] type: :%s/^M//g Note: To enter ^M, type CTRL-V + M. That is, hold down the CTRL key then press V and M in succession.

Popular posts from this blog

[Solved] Hive installation error: java.net.URISyntaxException: Relative path in absolute URI

Install Android SDK in centOs

Installing arules package (Association Rules) in R