How to fix the “ ‘\r’: command not found” error – Its Linux FOSS

How to fix the “ ‘\r’: command not found” error – Its Linux FOSS