1 |
On Thu, 23 Mar 2006 18:27:46 -0300 "Daniel da Veiga" |
2 |
<danieldaveiga@×××××.com> wrote: |
3 |
> Sudo takes a command as parameter, enclose the whole command in quotes |
4 |
> and try again, like this: |
5 |
> |
6 |
> sudo "echo "app-portage/porthole ~*" >> /etc/portage/package.keywords" |
7 |
^ ^ ^ ^ |
8 |
|
9 |
Careful with those quotation marks - you might want to escape them ;-) |
10 |
I would use single quotes on the outside to avoid the confusion: |
11 |
|
12 |
sudo 'echo "app-portage/porthole ~*" >> /etc/portage/package.keywords' |
13 |
|
14 |
|
15 |
Cheers, |
16 |
Renat |
17 |
|
18 |
-- |
19 |
Probleme kann man niemals mit derselben Denkweise loesen, |
20 |
durch die sie entstanden sind. |
21 |
(Einstein) |