ubuntu script failure

Ioannis Vranos ioannis.vranos at gmail.com
Tue Jan 10 13:50:30 UTC 2012


On Tue, Jan 10, 2012 at 5:31 AM, Min Yu <yumineer at gmail.com> wrote:
> I've also come up with this issue days ago. In my script, I put #!/bin/sh,
> and expected the bash behavior, but it turned out quit strange.
> So "ls -l /bin/sh". Damn, it links to dash. So I alias the sh to bash.
>
> And after that, a good day!

Or you could simply put

#!/bin/bash


-- 
Ioannis Vranos

http://tcho.net/cppdeveloper




More information about the ubuntu-users mailing list