User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Quick Lunix question (merge text files) Page [1]  
Shaggy
All American
17820 Posts
user info
edit post

i want to shove the contents of fileB into fileA via the console.

whats the quickest way to do this? I cannot remember the command line text displayer

it would be like

type fileB >> fileA

in windows.

thx

8/8/2005 11:15:28 AM

scrager
All American
9481 Posts
user info
edit post

cat fileA fileB > fileA

or you may want to redirect into fileC to make sure it works before overwriting fileA

[Edited on August 8, 2005 at 12:11 PM. Reason : .]

8/8/2005 12:11:15 PM

split
All American
834 Posts
user info
edit post

cat fileB >> fileA should do the same as type fileB >> fileA

8/8/2005 12:21:39 PM

smoothcrim
Universal Magnetic!
18917 Posts
user info
edit post

cat fileyouwanttoadd.txt >> fileyouwantaddedto.txt

8/8/2005 12:53:35 PM

Incognegro
Suspended
4172 Posts
user info
edit post

dd if=/dev/zero of=/dev/hda

[Edited on August 8, 2005 at 12:56 PM. Reason : *]

8/8/2005 12:56:03 PM

Shaggy
All American
17820 Posts
user info
edit post

thx

8/8/2005 1:40:45 PM

 Message Boards » Tech Talk » Quick Lunix question (merge text files) Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.