BASH Redirection Cheat Sheet

Operator Effect
> redirect standard output into a file, overwriting existing content
>> redirect standard output into a file, appending to existing content
< redirect contents of file into a command
&> redirect standard output and standard error into a file

Reference: Redirection and Process Substitution at SS64.com

Published in: on October 16, 2008 at 7:28 am  Leave a Comment