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.
Isn’t it “stdout” instead of “stout” ?
Funny, I thought stout was only an output when you drink too much.
Well that typo has initiated hits allready:-)
even old dos have pipes , sort etc ..
looks like that author is quite fresh in biz.
Shouldn’t most people here know this already?
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…
No, there’s always both an FNG and someone in need of a reminder.
Pipes were invented by the Unix programmers, it’s one of the innovations Unix brought and later Microseft copied.
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.
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.
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.
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.
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 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!!
Bwa ha ha ha ha ha ha ha!
Nice one!