Why do you need to put #! bin bash at the beginning of a script file? So, if you try to run a file called foo sh which has #! bin bash at the top, the actual command that runs is bin bash foo sh This is a flexible way of using different interpreters for different programs This is something implemented at the system level and the user level API is the shebang convention
What is the equivalent of the bin directory for Windows? bin is not special, it is just listed in the PATH environment valuable Microsoft's Windows also has this variable Only difference is that it uses ; instead of :, and there is an implied at the begging for added insecurity So have a look in this variable You can also edit it to add a bin directory
windows - bin directory and PATH - Stack Overflow The bin directory contains the essential user binaries (programs) that must be present when the system is mounted in single-user mode Applications such as Firefox are stored in usr bin, while important system programs and utilities such as the bash shell are located in bin
How to set the environment variables for Java in Windows Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk-1 6\bin and NOTE Make sure u start with ; in the Value so that it doesn't corrupt the other environment variables which is already set