i'm new with scripts and linux and need a little help.
i made a text file called colors using a vi editor and contains as follows:
now i want to delete the 2nd line with the word green using a script file. well i know how to do it while being in the vi editor of that text, simply use the dd on the 2nd line .. but how can i do that using a script ? what commands to write there?