Home » 2016 » October » 12

Hi Guys,
Welcome back,

Being a consultant in DBS project I have witnessed many cased where the shell script that is copied or created may contain some special characters. This happens when the script is copied from windows system to AIX and the script was having extra spaces.

So, if the script is having such speciall characters, it might not get executed successfully throwing error as below:

 

Command not found: ^M

 

The solution is we have to find and remove all special characters like these from the script.

Here we shall practice a very simple way to do the same. 

1. Using command tr. ... Read more »

Category: Open System-Linux | Views: 1840 | Added by: shanky | Date: 2016-10-12 | Comments (0)