on-internet
← Community

Termux says "'Bad Interpreter: No such file or directory"

Stack Overflow ·

I have a problem and hope someone can help me. I am currently trying to write a script for Termux or Termux:Task. My script currently looks like this: #!/data/data/com.termux/files/usr/bin/bash cd /./sdcard/www/public/ wp post list sleep 5 Every time I load the script I get the following error message: /data/data/com.termux/files/usr/bin/wp: /usr/bin/env: bad interpreter: No such file or directory. I've been looking for a solution to my problem for hours, unfortunately without success. I am using an extension for Termux called "WordPress CLI". When I start termux and enter the commands individ

Comments

Sign in or sign up to comment and upvote.

No comments yet.