How to Convert Windows-style Line Endings to UNIX-style Line Ending
You can convert line endings of your script to UNIX format using a utility like dos2unix. Install dos2unix if it’s not already available on your system. You can use the package manager for your Linux distribution to install it. Open a terminal and navigate to the directory where your script is located. Run the following […]