LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-13-2004, 09:33 PM   #1
Darklight451
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, 10:29 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
paste file1 file2 > file3
 
Old 09-13-2004, 11:29 PM   #3
Darklight451
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora core 2
Posts: 13

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


Reply


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 05:52 AM
Scripting question mithereal Linux - General 2 09-21-2005 02:02 AM
Scripting question msandford Linux - Newbie 4 09-05-2005 10:23 AM
scripting question gearoid Programming 3 05-26-2004 02:43 PM
Scripting question glock19 Linux - Software 2 09-05-2003 12:45 AM


All times are GMT -5. The time now is 09:51 AM.

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