RHEL 8, RH124, Chapter 6, Section 8, there is this bit
I'd suggest changing the >> in the command to >
It can happen where a new student may enter this command more than once because they made a mistake. As >> appends to a file, this would only compound a user's mistake.
> ensures that the file be clobbered and recreated new each time.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.