I am having problems with >> and I have seen people use > but I don't know the difference.
>>
>
> overwrites a file, >> appends to the end of a file.