Remove ^M (CTRL+M) from a file in Linux
Unix and windows file formats are different. Sometime a Unix file which edit in Windows put a special character at the end of each line i.e ^M (CTRL+M). It can make that file useless sometime. But no worry you can fix that with ease, just follow the procedure given below: Open the file in vim…