title: How to add a new line into a .c file with unix
body: <p>I am looking to do a simple modification to my unix shell by editting the start up print functions to say my name, I have located the main.c file and i have located the line (325) where i would like to insert it, I have used sed and awk for this however neither seems to work, the closest i have seemed to have got is writing the line:</p>
  
  <pre><code>$ sed '326 i/
  &gt;   My name' main.c
  </code></pre>
  
  <p>This then peints out the main.c file however then when i go to search for my name or look through thr file using less, the line has not been inserted, can anyone tell me what i am doing wrong? </p>