Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add text at the end of a file

Status
Not open for further replies.

mikosrt

IS-IT--Management
Nov 12, 2004
1
US
I need a script to add text at the end of a file and save it.
Can someone help me.
Thanks.
 
echo "\
here the text to append
some more text" >> /path/to/file

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top