Jump to content


HPR - HPR0924: Episode 000 redirection

  • Please log in to reply
No replies to this topic



    I make newbies cry!

  • Members
  • 2,982 posts

Posted 14 February 2012 - 07:00 PM

Welcome to the first entry of Linux in the Shell. Before delving into specific commands, redirection will be explored as redirection will be used frequently in the examples going forward. The Unix philosophy posits program simplicity and that a program should do one thing and do it well (Mike Gancarz, the Unix Philosophy). Eric Raymond adds the Rule of Composition: "Design programs to be connected to other programs." Redirection is the glue that achieves this design.Redirection is applied to any of the following standard streams to achieve results beyond simply outputting some value from a single command:Standard Input (stdin) – 0Standard Output (stdout) – 1Standard Error (stderr) – 2For the rest of this article and accompanying video please go to http://www.linuxinth...redirection/The video can be downloaded http://www.archive.o...on/lits-000.ogv

Go to this episode

BinRev is hosted by the great people at Lunarpages!