How do you run bash script as a command?

后端 未结 4 983
离开以前
离开以前 2021-01-22 10:53

I have a bash script, which I use for configuration of different parameters in text files in my wireless access media server.

The script is located in one directory, and

4条回答
  •  既然无缘
    2021-01-22 11:15

    Another way is to run it with:

    /bin/bash /path/to/script
    

    Then the file doesn't need to be executable.

提交回复
热议问题