Taken from /bin/sh: 1: gvm: not found, which would say more or less: Your shell is /bin/sh, but source expects /bin/bash, perhaps because it puts its initialization in ~/.bashrc.
The ! character is used in zsh for history expansion. Read the HISTORY EXPANSION section of man zshexpn to learn more. In any case, running #!/bin/bash as a command would not do anything, this is useful only in scripts, where the first line starting with a shebang (#!) has special meaning and indicates the (usually shell) executable to use to run the script.
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.
In bash script, what does #!/bin/bash at the 1st line mean ? In Linux system, we have shell which interprets our UNIX commands. Now there are a number of shell in Unix system. Among them, there is a shell called bash which is very very common Linux and it has a long history. This is a by default shell in Linux. When you write a script (collection of unix commands and so on) you have a option ...
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.
Bash script – "/bin/bash^M: bad interpreter: No such file or directory" [duplicate] Asked 12 years, 11 months ago Modified 2 years, 4 months ago Viewed 1.4m times
What does the Recycle Bin in Windows actually do? Is it just a glorified folder and a holding place for soon to be deleted files, or does it do something specific? Specifically, are files that are ...
Usually we delete the recycle bin contents by right-clicking it with the mouse and selecting "Empty Recycle Bin". But I have a requirement where I need to delete the recycle bin contents using the