I\'ve seen somewhere that we can use >> in shell. What\'s the difference between using > and >> in shell?
There is a difference if the file you're redirecting to already exists:
> truncates (i.e. replaces) an existing file.
>
>> appends to the existing file.
>>