Tag: Control Characters

disgusted displeased senior bald man in yellow shirt

… \r’: No such file or directory

If you encountered this error when executing a bash script its probably because you use a script that was written under Windows and you want to use this in an Unix system now. The problem is that the control characters of your file are different, depending on wich OS (Operating System) you use. 1. Fix via Stream Editor A quick fix for this is to simply replace the control characters: 2. Use dos2unix package If you want to use a package rather than the stream editor, dos2unix should be your pick. Simply install it via apt: Then just pick your file: If you want to convert multiple files at once you may use the suggested method on Stackoverflow: If nothing of this fixed your issue, please leave a comment and I will try to look into it, as well as add it here. Yannic SchröerI am a developer and entrepreneur

Read More »