Windows 10, MobaXterm, “bash: /bin/chmod: cannot execute binary file”

mobaxterm

bash: /bin/chmod: cannot execute binary file.

Similar to another question here on the boards.

I tried answer suggestion, but to no avail:

  1. uninstalled MobaXterm

  2. re-installed MobaXterm

Still get:

bash: /bin/chmod: cannot execute binary file

The same response when I try other commands, like ls, mv, etc.

Best Answer

In order to restart from a clean install please try this procedure:

  • Open MobaXterm.
  • Run open / command from a local terminal => the Windows Explorer should open in your slash folder.
  • Close MobaXterm.
  • Rename your slash folder at Windows Explorer from slash to slash-old
  • Open MobaXterm
  • Verify if it now works as expected.
Related Question