Worked like a charm, thanks!  

 

From: spacewalk-list-boun...@redhat.com
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Stas Bobylev
Sent: Friday, May 16, 2014 1:47 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Running Remote Commands with ">>" In Script

 

Have you tried using "tee -a" instead of ">>" in your script? 

 

E.g.

echo "blah" | tee -a some_file

This email and any attachments are strictly confidential, may be privileged,
and are intended only for the use of the person(s) named above. Any other
person is strictly prohibited from disclosing, distributing, copying or
using it. If you are not the intended recipient (or are not receiving this
communication on behalf of the intended recipient), please notify the sender
immediately by return email or telephone call, and securely destroy this
communication. Thank you.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to