Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-13-2004, 10:33 PM   #1
LQ Newbie
Registered: Sep 2004
Distribution: Fedora core 2
Posts: 13

Rep: Reputation: 0
Scripting question....

Ok, weird question:

I'm running Fedora Core 2 and in the command line I want to be able to write a script that will input 2 text files. The first file has first names, the 2nd file has last names. I have that working fine using the 'paste' command. My question is, how would i be able to output this information to another file named 'names3'. Would I use the 'touch' command? I'm pretty lost and I am a linux n00b. Please give me some direction here.
Old 09-13-2004, 11:29 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
paste file1 file2 > file3
Old 09-14-2004, 12:29 AM   #3
LQ Newbie
Registered: Sep 2004
Distribution: Fedora core 2
Posts: 13

Original Poster
Rep: Reputation: 0
Worked like a charm, thanx a million! =)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scripting question... Basslord1124 Linux - Networking 2 11-09-2005 06:52 AM
Scripting question mithereal Linux - General 2 09-21-2005 03:02 AM
Scripting question msandford Linux - Newbie 4 09-05-2005 11:23 AM
scripting question gearoid Programming 3 05-26-2004 03:43 PM
Scripting question glock19 Linux - Software 2 09-05-2003 01:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration