[Bash Scripting] About redirecting an output

Ouattara Oumar Aziz wattazoum at gmail.com
Sun Feb 25 01:20:59 UTC 2007


Matthew Flaschen a écrit :
> Ouattara Oumar Aziz wrote:
>> hi,
>>
>> I have written a nautilus script
> 
> If you intend your script to specifically be a bash script, you should use:
> 
> #!/bin/bash
> 
> Someone just had an issue a while ago about that; their scripts stopped
> working when sh changed from bash to dash.  It could change again, so
> unless you're using POSIX-compliant sh specify which you want.
> 
> Matthew Flaschen
> 
> 
Yep , I changed it to /bin/bash .

thanks

PS: my questions are still on :)





More information about the ubuntu-users mailing list