What echo > file does
Write text into a file, replacing whatever was in it.
echohello>file.txt
echo— command — print texthello— argument: a file, a folder, or text>— write the output to a file (overwriting it)file.txt— argument: a file, a folder, or text