I was trying to run a file in my home directory called millibyted, but whenever I run ./millibyted, it says
-bash: ./millibyted: No such file or directory
Now, I am absolutely certain that the file is there; I have sftp’d in and everything, but it just keeps throwing that error. This doesn’t happen on my personal PC, also on Ubuntu 16.04. What do I do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Is the Ubuntu 16.04 droplet you’re running the 32-bit
image or the 64-bit
one?
Could be this:
https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists
I has already tried giving exec permissions, and it didn’t work. I just tried running it as a shell script and that just threw an error.
Hello,
Could you try giving the file execute permissions first?
I think this should resolve the issue. If it doesn’t, maybe you need to make it a shell file.
Hope it helps, thanks.