On 23:38 Thu 23 Mar , Renat Golubchyk wrote: > 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' >
Do that and it'll say sudo: echo "app-portage/porthole ~*" >> /etc/portage/package.keywords: command not found This has been discussed on here before. The problem is that if you do `sudo echo foo > bar`, the echo is being run as root, but the writing to bar isn't. In this case, you might like to look at app-portage/flagedit (it's less typing for a start). -- djm -- gentoo-user@gentoo.org mailing list