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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

append to file problems 1

Status
Not open for further replies.

mar74

IS-IT--Management
Aug 12, 2003
22
0
0
US
On a SCO Unixware box, scripts are overwritting logfiles instead of appending to them. Even if I do:

echo `date` > test
echo foo >> test

test only contains foo.

I appreciate any help/insight anyone can provide.
 
Try echo foo >> test 2>&1

It should work if not try a man on redirection
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top