1 |
On Thursday 23 March 2006 23:38, Renat Golubchyk wrote: |
2 |
> On Thu, 23 Mar 2006 18:27:46 -0300 "Daniel da Veiga" |
3 |
> |
4 |
> <danieldaveiga@×××××.com> wrote: |
5 |
> > Sudo takes a command as parameter, enclose the whole command in quotes |
6 |
> > and try again, like this: |
7 |
> > |
8 |
> > sudo "echo "app-portage/porthole ~*" >> /etc/portage/package.keywords" |
9 |
> |
10 |
> ^ ^ ^ ^ |
11 |
> |
12 |
> Careful with those quotation marks - you might want to escape them ;-) |
13 |
> I would use single quotes on the outside to avoid the confusion: |
14 |
> |
15 |
> sudo 'echo "app-portage/porthole ~*" >> /etc/portage/package.keywords' |
16 |
|
17 |
Yeah, and the neat thing ... it still doesn't work... ;) As Daniel admitted in |
18 |
reply to Hollys mail in this thread he had an alias for sudo. |
19 |
|
20 |
-- |
21 |
Bo Andresen |
22 |
-- |
23 |
gentoo-user@g.o mailing list |