dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


Linux.com: CLI for Noobies: Need Redirection?

May 04, 2004, 08:30 (0 Talkback[s])
(Other stories by Joe Barr)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"OK, noobies, wake up from that GUI-induced stupor you're in and follow me. This week's column is going to take you in new directions--or should I say redirections--on the command line interface. You're probably already familiar with standard transmissions, Standard Oil, and standard rates. For the momement, forget all about those standards and focus on these: STDIN, STDOUT, and STDERR.

"You may recall from an earlier column about files and streams that by default the STDIN (standard input) stream comes from your keyboard, and STDOUT (standard output) goes to your terminal. That's where the process reading STDIN and writing STDOUT normally puts STDERR (standard error) as well. Let's take a look at a few ways we can redirect those standard streams..."

Complete Story

Related Stories: