---

Bash: Write to File

Learn how to write text to a file in Bash using the redirection operators and tee command.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis