“No such file or directory” but it exists

前端 未结 13 1967
南笙
南笙 2020-11-29 21:24

I simply want to run an executable from the command line, ./arm-mingw32ce-g++, but then I get the error message,

bash: ./arm-mingw32ce-g++: No s         


        
13条回答
  •  無奈伤痛
    2020-11-29 22:00

    I had the same problem with a file that I've created on my mac. If I try to run it in a shell with ./filename I got the file not found error message. I think that something was wrong with the file.

    what I've done:

    open a ssh session to the server
    cat filename
    copy the output to the clipboard
    rm filename
    touch filename
    vi filename
    i for insert mode
    paste the content from the clipboard
    ESC to end insert mode
    :wq!

    This worked for me.

提交回复
热议问题