Cmder bash script executing

后端 未结 6 1068
太阳男子
太阳男子 2021-02-13 05:35

I created basic script in Windows.

#!/bin/bash

echo Hello

I am using Cmder, ConEmu derivative. I tried to change the priviliges with chmod, bu

6条回答
  •  再見小時候
    2021-02-13 05:52

    On my own instance of Cmder, bash [filename] works just fine, and I believe much simpler:

    C:\Users\Conor O'Brien
    λ type test.sh
    echo Hello
    
    C:\Users\Conor O'Brien
    λ bash test.sh
    Hello
    

提交回复
热议问题