title: Is there a shell script where we can update two files and change a line in the third file
body: <p>I have three files in a server. I want to update first file with content A and update second file with content B. In the third file i want to replace the last line with content C. At the end I want to restart few services.</p>