How can i attach one file on the top of another file. Suppose file1 has 10 lines and file2 has 20 lines. I want to attach the 10 lines of file1 to file2 so that the file2 will have 30 lines in total. On Sunday 08 Aug 2004 5:31 pm, Sascha Retzki wrote: > Am So, 2004-08-08 um 13.44 schrieb Roberto Vanto: > > Anindya Mozumdar ha scritto: > > > Hi, > > > How can I make a file zero length without deleting the contents of > > > the file manually through an editor ? > > > Anindya. > > > - > > > > man touch > > > > touch foo > > touch changes the timestamp if the file exists. It sounds like the file > already exists. btw, You don't need to delete it through an editor, "rm > foo ; touch foo" would do it, too. ;-) > > > - > > : send the line "unsubscribe linux-admin" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Aroop M.P Bobcares Support Team --------------------------------------------------- "NO MATTER WHERE YOU ARE IN THE WORLD,IF YOU HAVE DECIDED TO DO SOMETHING DEEP FROM YOUR HEART YOU CAN DO IT. IT HAS ALWAYS BEEN THE THOUGHT THAT MATTERS... " --------------------------------------------------- - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html