On Thu, 23 Mar 2006 18:27:46 -0300 "Daniel da Veiga"
<[EMAIL PROTECTED]> wrote:
> Sudo takes a command as parameter, enclose the whole command in quotes
> and try again, like this:
> 
> sudo "echo "app-portage/porthole ~*" >> /etc/portage/package.keywords"
       ^     ^                       ^                                 ^

Careful with those quotation marks - you might want to escape them ;-)
I would use single quotes on the outside to avoid the confusion:

sudo 'echo "app-portage/porthole ~*" >> /etc/portage/package.keywords'


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
                                              (Einstein)

Attachment: signature.asc
Description: PGP signature

Reply via email to