Linked by Eugenia Loli on Thu 16th Jun 2005 10:47 UTC
General Unix A pipe is a means by which the output from one process becomes the input to a second. In technical terms, the standard output (stout) of one command is sent to the standard input (stdin) of a second command. If you are not sure of the advantages this creates, then let's look at a simple example. Read more here.
Order by: Score:
funny typo ?
by Gaston on Thu 16th Jun 2005 11:03 UTC

Isn't it "stdout" instead of "stout" ?

RE: funny typo
by Eric on Thu 16th Jun 2005 11:26 UTC

Funny, I thought stout was only an output when you drink too much.

hits
by int80H on Thu 16th Jun 2005 11:31 UTC

Well that typo has initiated hits allready:-)

why unix category?
by Anonymous on Thu 16th Jun 2005 13:15 UTC

even old dos have pipes , sort etc ..
looks like that author is quite fresh in biz.

pretty basic
by jared on Thu 16th Jun 2005 14:12 UTC

Shouldn't most people here know this already?

standard output (STOUT)
by Nii on Thu 16th Jun 2005 14:12 UTC

Stout pipe...

I would love my standard output pipe to be a stout pipe

what is the command required to do this, even been using the command line for a few years now but it just goes to show that I'm still not familiar with all its commands...

@jared
by emacs on Thu 16th Jun 2005 14:16 UTC

No, there's always both an FNG and someone in need of a reminder.

RE: why unix category?
by Perez-Gilaberte on Thu 16th Jun 2005 19:28 UTC

Pipes were invented by the Unix programmers, it's one of the innovations Unix brought and later Microseft copied.

This is pipes 101
by Fani on Thu 16th Jun 2005 21:17 UTC

This is such a basic lesson. Any casual unix scripter would know this.
I thought this would show some interesting scripts and things that could be done with pipes.
The reviewer is so new to this topic. Looks like anyone can become a reviewer and post anything. And OSNews and Slashdot and OSViews will all post it in a jiffy.
Not too useful.

RE:This is pipes 101
by Hassy on Thu 16th Jun 2005 22:02 UTC

Why is it so bad to be reminded of the powerful utilities in a
*nix environment. For a newbie this kind of knowledge is worth gold. Hell, I'm not a newbie and I'm far from hardcore in this world. I "only" got some three years of actual Linux experience but I've met people with far more experince than me that didn't know 'screen'.

The article may not be useful to you, but to others it might.

RE:This is pipes 101
by Rickard Hansson on Thu 16th Jun 2005 22:20 UTC

I must agree. Not everyone reading the articles in here has the knowledge to do it, even if they might be using Linux or Unix.

It is possible to use an OS, including Linux and UNIX, without using the terminal.


So, be thanksful instead.

RE:This is pipes 101
by Duncan Domingue on Fri 17th Jun 2005 01:40 UTC

Oh man, I love these sorts of articles! Of course, they're probably not always appropriate on OSNews, since it's really not news, but hell, if someone got a whole bunch of things like this together and made a site similar to linuxcommand.org it would rally rock. I've been using Linux for a couple years now and I still find these articles helpful. It always amazes me how powerful *nix command line scripting is.

@Duncan Domingue
by Anonymous Coward on Fri 17th Jun 2005 04:14 UTC

I totally agree. I do system administration on everyday basis and still I find it usefull to read tutorials like that just to pick up some new ideas. This is because I believe that a good sys admin spends most of his time writing scripts that do the job for him instead of manualy messing around with the server.

CLI
by Anonymous on Fri 17th Jun 2005 08:56 UTC

CLI is what makes *nix admin friendly. After 2 years as a Unix admin, I'm still impressed by the efficiency of that scripting language. For example, last week I made a script that checks the size of files starting with I created during last day, sending a mail and a syslog event if it was not as expected.
Using find, mailx, logger, it was only 15 lines long!!
I used to be a windows admin and know it would have been at least 5X as long using vbs. *nix rocks!!

@Nii
by Anonymous on Fri 17th Jun 2005 12:45 UTC

Bwa ha ha ha ha ha ha ha!

Nice one!