On Mon, Jan 28, 2013 at 4:13 PM, Cool G <hkco...@gmail.com> wrote: > Hi, > I need a linux command to add a new line (at line number 4 in a txt file) > and save it using command prompt. Pls. help > > Any help is appreciated. >
sed -i inputfile.txt -e '4s/^/\n/' -- blog : ragsagar.wordpress.com mail id : python -c "print '@'.join(['ragsagar','.'.join([x for x in ['gmail','com']])])" _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd