Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
One of the most common tasks when writing Bash scripts or working on the Linux command line is reading and writing files. Learn how to write text to a file in Bash using the redirection operators and tee command.