bin/sh^M: bad interpreter: No such file or directory
Tried to install DirectAdmin on Ubuntu just now but encounter the following error.
A quick Google search revealed that dos2unix can fix the problem.
Then fix the problem by. This will convert the file to unix format.
Then just execute the file as per normal.
./setup.sh: /bin/sh^M: bad interpreter: No such file or directory
A quick Google search revealed that dos2unix can fix the problem.
sudo apt-get install dos2unix
Then fix the problem by. This will convert the file to unix format.
dos2unix setup.sh
Then just execute the file as per normal.
I know this post is late, but i wanted to add for Debian, which is family of ubuntu, works with:
ReplyDeleteapt-get install tofrodos
THEN use [example] dos2unix setup.shthen use whatever-command ./script.sh ( ./setup.sh )Thanks for reading.
Bing Han Goh, You're missing "install" option in "apt-get" command :)
ReplyDeleteThanks for pointing out! Updated the post :D
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteAwesome! Thanks
ReplyDeleteI enlisted some of the ideas and techniques to get
ReplyDeletemore views and followers on this brief video making the app.To become famous on TikTok, buy tiktok likes uk
also make TikTok videos each and every day and
make unique content which contrasts with your audience. A few TikTokers upload short videos about a particular niche. Funny videos
and videos that keep the audience for longer would be those who get famous on TikTok.To get famous or to get more views and enjoys
in your own TikTok videos one simple way is to participate in TikTok challenges.