sshfs? (was Re: Sometimes Evince. Sometimes Adobe Reader)
Florian Diesch
diesch at spamfence.net
Thu Sep 21 10:28:48 UTC 2006
Thilo Six <T.Six at gmx.de> wrote:
> Peter Garrett wrote the following on 19.09.2006 13:05:
>
> <snip>
>
>> echo "fuse" | sudo tee -a /etc/modules
>
> I have allways been looking forward to know how to do "echo" with "sudo".
A more general way to do use shell commands with sudo is to use "sh -c"
like that:
sudo sh -c 'echo "fuse" >> /etc/modules'
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list