Adding Path at end of line
I've a problem, I would like to know how to add a path at the end of the line of one of my .sh files.
When I do sed -e '5 s/$/ "/home/root/test"/' -i test.txt, I've an error due to "/" of the path, is therea is a way to tell to Mr.Linux I want to add this at the end of my file ?
Thanks for your help.
Last edited by Ra'Jiska; 06-15-2013 at 08:11 AM.