Skip to content
zero2vibecodelearn vibe coding

What echo >> file does

Add a line to the end of a file without erasing what's already there.

echoline>>file.txt
  • echocommand — print text
  • lineargument: a file, a folder, or text
  • >>append the output to the end of the file
  • file.txtargument: a file, a folder, or text

What it does when you run it

$ echo line >> file.txt
$ cat file.txt
line

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii