Forum Discussion
batch file
I sure you mean bash script.
Make sure you have this line at the beginning:
!/bin/bash
Also, make sure the file has permission to run:
chmod +x filename
Last make sure the file is formatted for Unix. See the explanation here:
https://en.wikipedia.org/wiki/Unix2dos
You can download the software here, including a version for windows.
https://waterlan.home.xs4all.nl/dos2unix.html
Also, most text editors, like notepad++, have a function to do that.
If you still can't run the script. Paste here the command you are using to run it, and also the output you get when you try to run.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
