---

How to write the output into the file in Linux

How do I write the output into the file in Linux bash shell? Can you explain I/O redirection for both bash and POSIX shell to write data to the file under Unix or Linux?

Get the Free Newsletter!

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