Skip to content
zero2vibecodelearn vibe coding

What echo > file does

Write text into a file, replacing whatever was in it.

echohello>file.txt
  • echocommand — print text
  • helloargument: a file, a folder, or text
  • >write the output to a file (overwriting it)
  • file.txtargument: a file, a folder, or text

Explain other commands