Hi, Thanks for the reply. I recalled the solution from your answer.
# cat FileB >> FileA Thanks and Best Regards, Aung Min Naing Oo System Engineer Unidux Electronics Limited 31 International Business Park #04-03A Creative Resource Singapore 609921 DID : +65 - 6568 1665 Tel : +65 - 6569 3611 Fax : +65 - 6569 9271 E-mail : [EMAIL PROTECTED] WEB: http://www.unidux.com.sg [This message may contain privileged and confidential information. If this message has been addressed to you by mistake, you should not disseminate, copy or take any action in reliance on it, and please notify the sender immediately by return mail] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Didier Casse Sent: Friday, August 15, 2003 2:36 PM To: Aung Min Naing Oo - Unidux (IT) Cc: [EMAIL PROTECTED] Subject: Re: Linux command to combine two files On Fri, 15 Aug 2003, Aung Min Naing Oo - Unidux (IT) wrote: > Hello > > Is there any command to combine two text files. > I need to combine the multiple access log files to > one single file for the report generating purpose. > > eg. FileA > line 1 > line 2 > > FileB > line 3 > line 4 > > ResultFile > line 1 > line 2 > line 3 > line 4 A simple: --------------- FileB >> FileA ----------------- would do at the command prompt. If you want advanced stuff, use PERL todo the job. Didier --- PhD student Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603 Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Website: http://ssls.nus.edu.sg -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list