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 7. The Command Line > Standard Input, Output, and Error

7.16. Standard Input, Output, and Error

In the previous section, we were redirecting streams known as standard input and standard output. When using a < redirection operator, you are telling the operating system that for just this one command it should ignore the standard input device (which is your keyboard) and instead take its input from a file.

Likewise, when using the > operator you are telling Ubuntu to ignore the standard output device (which is your monitor or, more precisely, the Terminal window) and instead send its output to the supplied file.


  

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