WeCodeAcademy
❮ | (pipe)>> ❯

Redirection >

Writes output to a file, replacing it.

Group: Redirection

Syntax

cmd > file

Example

Examplebash
Open in editor »
/ $

← All of Bash Command Reference