I need to add an entry into a file, right before the last line. The last line is the same on most of thefile, so I thoutht I coul serach it out and eith insert my new line or deleter this line and replace it with two line (my new line and the original line I deleted))I have tried the -i command...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.