# Command
[some_command] > [file_name]
# Example
echo "Hello World!" > ./hello.txt
# Command
[some_command] >> [file_name]
# Example
echo "Hello World!" >> ./hello.txt
stdout
and stderr
into Separate Filesfoo > stdout.log 2> stderr.log
stdout
and stderr
into One Filefoo > stdout.log 2>&1