Introduction
Writing files lets you save information from your script to your computer. This helps keep data for later use or sharing.
Save a list of names or data from a script to a text file.
Create a log file to track what your script does.
Export results from a command to share with others.
Save configuration settings from a script.
Write output from a script to a file for backup.