11 · The Command Line

Redirect

Send output to a file

The greater-than symbol sends a command's output into a file instead of the screen (and a doubled one appends rather than overwrites).

Concrete example

“echo done > status.txt” writes the word “done” into status.txt.