[Bash Scripting] About redirecting an output

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Feb 25 01:56:54 UTC 2007


Ouattara Oumar Aziz wrote:
> 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 :)

Sorry, I don't use either of those programs (I have KDE as well), and I
can't figure out what you're talking about. :)  I just wanted to warn
you about the sha-bang issue.

Matthew Flaschen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070224/8e3f1503/attachment.sig>


More information about the ubuntu-users mailing list