echo bug?

Fred Roller froller at
Sat Sep 12 06:14:19 UTC 2009

Siggy Brentrup wrote:
> % sudo sh -c "echo \"will work\" >>sample"
> % cat sample
> will work
> % 
Thanx.  Did not know the redirect did not carry the sudo privileges.  
Still a lot to learn.


"Life is like linux, simple.  If you are fighting it you are doing something wrong."

More information about the ubuntu-users mailing list