[Linux-disciples] sudo echo
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Jun 12 21:16:45 EDT 2005
On Sun, Jun 12, 2005 at 06:46:14PM -0400, Stephen R Laniel wrote:
> On Sun, Jun 12, 2005 at 06:25:42PM -0400, Chung-chieh Shan wrote:
> > If we don't have to worry about funny characters, then
> > sudo sh -c "echo foo > file"
> > suffices.
> Ahhh ... your explanation makes sense, good sir; thank you.
I usually do
echo blah | sudo tee file
which may not be the best way, but it is A way.
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050612/51a1242a/attachment.pgp
More information about the Linux-disciples
mailing list