Is there a way to do this in one single command?
$wajig doc > /tmp/wajig_doc.txt
$sudo mv /tmp/wajig_doc.txt /root/wajig_doc.txt
ie I want to redirect the output of a command to a file and store this
in a directory owned by root. Is there a way to achieve the above with a
single command?
I have tried
$sudo wajig doc > /root/wajig_doc.txt
But it does not work. Using Debian sid, bash 3.00.16(1).
regards
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]