1 |
On 23:38 Thu 23 Mar , Renat Golubchyk wrote: |
2 |
> Careful with those quotation marks - you might want to escape them ;-) |
3 |
> I would use single quotes on the outside to avoid the confusion: |
4 |
> |
5 |
> sudo 'echo "app-portage/porthole ~*" >> /etc/portage/package.keywords' |
6 |
> |
7 |
|
8 |
|
9 |
Do that and it'll say |
10 |
|
11 |
sudo: echo "app-portage/porthole ~*" >> /etc/portage/package.keywords: command not found |
12 |
|
13 |
This has been discussed on here before. |
14 |
|
15 |
The problem is that if you do `sudo echo foo > bar`, the echo is being |
16 |
run as root, but the writing to bar isn't. |
17 |
|
18 |
In this case, you might like to look at app-portage/flagedit (it's less |
19 |
typing for a start). |
20 |
|
21 |
-- |
22 |
djm |
23 |
-- |
24 |
gentoo-user@g.o mailing list |