View Full Version : [ubuntu] Pipes in linux vs pipes in windows
May 1st, 2009, 03:21 PM
I'm doing my assignment about linux and here pops out this question : What is the difference with pipes under Linux compared to Windows pipes ?
I tried to google a litte but didn't find definite answers. Btw there also is these 2 commands : ls -al|grep 2003 , ls -al|sort -k 4,4| more . I can't figure out what the heck they're supposed to do.
Thanks for your help
May 1st, 2009, 03:31 PM
We're not really here to do homework, but I can point you to some resources:
This one specifically has a section on piping and redirecting:
Also, man is your friend - look up the man pages for commands you don't understand. You're not really going to learn anything if we just tell you what a command does. E.g.
Once you know what a pipe does in Linux, see what it does in Windows, and compare:
*BTW, these links were found in 2 quick Google searches - obviously one can't know everything, so the trick is knowing where and how to find answers...
May 1st, 2009, 04:09 PM
Aye thanks, i'll read them through
May 1st, 2009, 04:11 PM
Isn't this cheating ;o?
May 1st, 2009, 04:14 PM
Lol, yes it sort of is cheating. I think it's even in the code of conduct to not post homework questions.
May 1st, 2009, 04:17 PM
Knowing where to look for/ask for answers... that can't be cheating. :)
May 1st, 2009, 04:28 PM
At least this wasn't comparing screensavers....
Piping in Windows owes it's roots to CPM, which was the foundation for the original DOS (which wasn't very original).
Piping in Linux is patterned after UNIX.
If you use my answer and get a D-, I deny all complicity.
If they would have had computers when I was in high school, my CTRL, C and V keys would have been completely worn out.
May 2nd, 2009, 06:36 PM
I don't think asking for help is a form of cheating. Anyways i managed to find my way through to solve the problems using the above links. thanks
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.