We'd like to use analytics cookies to understand which symbols people look up, so we know what to research next. They are not used for advertising and we set none of them unless you say yes. What we store.
A rightward angle bracket sending a command's output into a file.
A single greater-than sign after a command sends its output into the named file, replacing whatever the file previously held. Doubling it appends instead.
POSIX defines the greater-than sign as the output redirection operator: the command's standard output is written to the named file, which is truncated first if it exists.
Contexts: Software
The truncation is the part that surprises people: redirecting into a file that already has contents discards them before writing.
Contexts: Software
Two straight strokes meeting at a point on the right, opening toward the left, drawn at the height of a line of text.
The same character used for a different job: comparison in mathematics, redirection in a shell.
Both are built from abstract forms, and both are used in software contexts.
Both are built from abstract forms, and both are used in software contexts.