[Spacewalk-list] Running Remote Commands with ">>" In Script

Stas Bobylev sbobylev at central1.com
Fri May 16 17:46:30 UTC 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140516/00dc8c19/attachment.htm>


More information about the Spacewalk-list mailing list