Exforsys

Online Training

Want to know the Option

This is a discussion on Want to know the Option within the Linux forums, part of the Operating Systems category; I want to add new contents to the end of an existing file.For doing this what is the operator ...


Go Back   Exforsys > Operating Systems > Linux

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2007, 08:57 AM
Senior Member
 
Join Date: Apr 2006
Posts: 144
caradoc is on a distinguished road
Want to know the Option

I want to add new contents to the end of an existing file.For doing this what is the operator or command I can use in Linux Operating System
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-29-2007, 12:51 PM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
If you want another file say exforsys that needs to be added to the test file, use cat with the append (>>) operator in the following way:
cat exforsys >> test

Using >> ensures any prior content of test is preserved. The content of exforsys is appended to test.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Any Other Option Rahulbatra Linux 2 04-29-2007 01:17 PM
Suggest a Option Rahulbatra Java 1 02-02-2007 09:05 AM
Suggest Best Option Ralph SAP R/3 2 01-02-2007 08:24 AM
What is the Option Angela Shell Programming 0 12-08-2006 02:50 AM
Compiler Options encoder COBOL 0 05-07-2006 10:43 PM


All times are GMT -4. The time now is 05:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.