Skip to content
Prev 2235 / 3656 Next

Default shell in Debian 6 of R is SH instead of BASH

On Fri, 07 Mar 2014, Dirk Eddelbuettel wrote:
Just for the record, if you scripts need to use bash, they should have
#!/bin/bash in the shebang line. If your scripts can use any POSIX
shell, then they should have #!/bin/sh in the shebang line. This should
resolve any of the problems you are having regardless of which shell
happens to be /bin/sh.