Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Many times when you execute a command, you’ll want to save the output. There are two primary ways you can do so. You can use the > symbol to redirect the output to a file, or you can use the clip command to redirect the output to the Clipboard.
You can use the > symbol at the end of a command to redirect the output to a file. For example, if you want to view the TCP/IP configuration for a system, you can use ipconfig /all. If you want to send the output to a text file named ipconfiguration.txt, you can use the following command: