Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3. Using Basic Commands > Redirecting Output

Redirecting Output

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.

Using the Redirect Symbol (>)

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:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial