I use netbeans 6.8 beta and when i load .sh (bash) file it's not colored at all. i can add a new file association for the .sh extension but it doesn't seem that there is a known associated mime type.
Using bash command to run the script. We can also use sh to run the script as it will direct to the default shell in the setup environment. Using the sh command to run the bash script. From the above example, we were able to run a bash script using bash as well as the sh command.
Shell scripting is scripting in any shell, whereas Bash scripting is scripting specifically for Bash. sh is a shell command-line interpreter of Unix/Unix-like operating systems. sh provides some built-in commands. bash is a superset of sh.
Normally, a Bash script file has . sh extension to make it clear that it is a shell script file.
I have not tried this myself but you can get shell script support in Netbeans if you install the C/C++ plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With