This question already has an answer here:
I am trying to insert some text in a file in the following way
sudo echo "abc-abc/abc/abc" >> /etc/portage/make.conf
but it give me the error Permission denied
although I am using sudo command
can any body help me in this regards