I would like to know how to overwrite an existing text file
as i wrote the script likethis ....>> /home/abc.txt.
However, the text file keeps appending texts without overwrite the exsting content at all. According to what I read from the various sources,
it stated it should use > instead of >>. I tried it but it failed to execute.
Please help on this problem, thanks!