Sunday, 2 June 2013

Partially overwrite in a file through script

Partially overwrite in a file through script

I see
<command> >> <filepath> appends the command line to the file
and
<command> > <filepath> replaces the entire contents of the file with the command given passed.
How to pass the command to the file so that only the last line of the file is overwritten?

No comments:

Post a Comment