Reputation: 9479
I have a simple bash script as follows
#!/bin/bash
sleep 5000
When I try to execute it, I am getting a weird error
: No such file or directory
Note the semicolon :. All the usual stuff such as permissions are fine. Any ideas?
Upvotes: 0
Views: 1690
Reputation: 5806
Please execute dos2unix yourscript
to convert your file in linux formate
Upvotes: 1