Computing.Net > Forums > Unix > To combine two files to one file

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

To combine two files to one file

Reply to Message Icon

Original Message
Name: kelongtan
Date: November 4, 2005 at 18:46:46 Pacific
Subject: To combine two files to one file
OS: HP-UX 11.0 version
CPU/Ram: ***
Comment:

Hi ,

I wish to know how to combine two files to one file using unix command.

I had two files aaa and bbb
aaa files:
02
02
02
02
02
02
and bbb files :
5646
5646
5646
5646
5646
5646

I need to put it to :
02 5646
02 5646
02 5646
02 5646
02 5646
02 5646

Thanks.


Report Offensive Message For Removal


Response Number 1
Name: Dlonra
Date: November 6, 2005 at 07:49:11 Pacific
Reply: (edit)

man paste



Report Offensive Follow Up For Removal

Response Number 2
Name: zilla
Date: November 15, 2005 at 14:07:02 Pacific
Reply: (edit)

Hey man, man perl or sed|awk and paste

video rapezilla-master


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge
Poll History




Data Recovery Software