Tuesday, 6 August 2013

insert text in a file using echo command

insert text in a file using echo command

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

No comments:

Post a Comment